fix(pwa): keep scoped shortcuts isolated (#1205)

Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
Isaac Sanchez-Hawkins
2026-05-12 10:55:31 +03:00
committed by GitHub
co-authored by Isaac Sanchez
parent c38727efc9
commit 733e1e2d21
2 changed files with 81 additions and 1 deletions
@@ -130,7 +130,7 @@ export const registerPwaManifestRoute = (app, dependencies) => {
} else {
const globalPayload = await listSessions(null);
const filteredGlobalPayload = filterSessionsByDirectory(globalPayload, preferredDirectory);
payload = filteredGlobalPayload.length > 0 ? filteredGlobalPayload : globalPayload;
payload = filteredGlobalPayload;
}
} else {
payload = await listSessions(null);