From 88c71c2998f257646586b8dcfe4b427e08dd2e80 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 25 Aug 2018 08:39:12 +0900 Subject: [PATCH] #2451 --- src/client/app/desktop/script.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts index 8dc048219..7f4a2d0b0 100644 --- a/src/client/app/desktop/script.ts +++ b/src/client/app/desktop/script.ts @@ -94,7 +94,7 @@ init(async (launch) => { /** * Init Notification */ - if ('Notification' in window) { + if ('Notification' in window && os.store.getters.isSignedIn) { // 許可を得ていなかったらリクエスト if ((Notification as any).permission == 'default') { await Notification.requestPermission();