[38129] Open the next notification only when the split screen is already open (#9848)

* Open the next notification only when the split screen is already open

* Use StateService to check whether details is open

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
pull/9851/head
Henriette Darge 3 years ago committed by GitHub
parent 9054aa245e
commit 05b7c4d91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      frontend/src/app/features/in-app-notifications/center/state/ian-center.service.ts

@ -216,7 +216,7 @@ export class IanCenterService extends UntilDestroyedMixin {
},
});
if (!this.deviceService.isMobile) {
if (!this.deviceService.isMobile && this.state.includes('**.details.*')) {
this.showNextNotification();
}
}

Loading…
Cancel
Save