Skip to content
Snippets Groups Projects
Unverified Commit 69828e8d authored by okayurisotto's avatar okayurisotto Committed by GitHub
Browse files

fix(sw): プッシュ通知の操作でZen UIなクライアントが開かれてしまう場合がある問題を修正 (#10497) (#10498)

parent 58c8d213
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ export async function findClient() {
type: 'window',
});
for (const c of clients) {
if (c.url.indexOf('?zen') < 0) return c;
if (!new URL(c.url).searchParams.has('zen')) return c;
}
return null;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment