diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-25 08:39:12 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-25 08:39:12 +0900 |
| commit | 88c71c2998f257646586b8dcfe4b427e08dd2e80 (patch) | |
| tree | 8fe252f487c95052ff4633d2abbf5fff9a4f017f /src/client/app/desktop/script.ts | |
| parent | #2460 (diff) | |
| download | sharkey-88c71c2998f257646586b8dcfe4b427e08dd2e80.tar.gz sharkey-88c71c2998f257646586b8dcfe4b427e08dd2e80.tar.bz2 sharkey-88c71c2998f257646586b8dcfe4b427e08dd2e80.zip | |
#2451
Diffstat (limited to 'src/client/app/desktop/script.ts')
| -rw-r--r-- | src/client/app/desktop/script.ts | 2 |
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(); |