summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-25 08:39:12 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-25 08:39:12 +0900
commit88c71c2998f257646586b8dcfe4b427e08dd2e80 (patch)
tree8fe252f487c95052ff4633d2abbf5fff9a4f017f /src
parent#2460 (diff)
downloadsharkey-88c71c2998f257646586b8dcfe4b427e08dd2e80.tar.gz
sharkey-88c71c2998f257646586b8dcfe4b427e08dd2e80.tar.bz2
sharkey-88c71c2998f257646586b8dcfe4b427e08dd2e80.zip
#2451
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/script.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts
index 8dc0482191..7f4a2d0b00 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();