Merge pull request #44823 from nextcloud/fix-opening-remote-shares-dialog-even-if-notifications-is-available

[stable27] Fix opening "Remote shares" dialog even if Notifications is available
This commit is contained in:
Ferdinand Thiessen 2024-04-15 16:01:06 +02:00 committed by GitHub
commit 73da60d1aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,7 @@
this.filesApp = filesApp;
this.processIncomingShareFromUrl();
if (!$('#header').find('div.notifications').length) {
if (!('notifications' in OC.appswebroots)) {
// No notification app, display the modal
this.processSharesToConfirm();
}