Added null checks

This commit is contained in:
2019-04-19 22:50:52 +09:00
parent 707233a422
commit d16197340d
8 changed files with 31 additions and 18 deletions

View File

@ -77,7 +77,10 @@ export default class ServiceWorkerManager {
switch(message.type) {
case "new notification":
this.arn.notificationManager.update()
if(this.arn.notificationManager) {
this.arn.notificationManager.update()
}
break
// case "new content":