@hydra-acp/browser 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/index.html +6 -1
- package/package.json +1 -1
package/dist/ui/index.html
CHANGED
|
@@ -13192,7 +13192,12 @@ ${recent}`;
|
|
|
13192
13192
|
async function pollSessions() {
|
|
13193
13193
|
try {
|
|
13194
13194
|
const data = await api("/api/sessions");
|
|
13195
|
-
const
|
|
13195
|
+
const rawSessions = data.sessions ?? [];
|
|
13196
|
+
const filtered = rawSessions.filter((s) => {
|
|
13197
|
+
const oc = s.originatingClient;
|
|
13198
|
+
return oc?.name !== "hydra-acp-cat";
|
|
13199
|
+
});
|
|
13200
|
+
const newSessions = filtered;
|
|
13196
13201
|
const hadBanner = state.banner !== null;
|
|
13197
13202
|
const sessionsChanged = !sameValue(state.sessions, newSessions);
|
|
13198
13203
|
state.sessions = newSessions;
|