This commit is contained in:
syuilo 2018-08-25 08:39:12 +09:00
parent 8d3669193f
commit c6e0a2eb26

View File

@ -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();