@hydra-acp/browser 0.1.16 → 0.1.18
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 +2 -1
- package/package.json +1 -1
package/dist/ui/index.html
CHANGED
|
@@ -13192,7 +13192,8 @@ ${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 newSessions = rawSessions;
|
|
13196
13197
|
const hadBanner = state.banner !== null;
|
|
13197
13198
|
const sessionsChanged = !sameValue(state.sessions, newSessions);
|
|
13198
13199
|
state.sessions = newSessions;
|