fix(pwa): keep scoped shortcuts isolated (#1205)
Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
committed by
GitHub
co-authored by
Isaac Sanchez
parent
c38727efc9
commit
733e1e2d21
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user