mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-13 21:40:45 +01:00
This commit is contained in:
parent
7b6e55047f
commit
88c71c2998
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue