mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 17:52:02 -04:00
The dialog is supposed to be shown only if the Notifications app is not available, and to know whether it is available or not it is checked if the header contains the Notifications button. However, in Nextcloud 25 the DOM of the Notifications app changed, so the button is no longer found and thus the dialog was always shown when there are pending shares. Even if the correct element query was used the dialog may be still shown anyway if "external.js" is loaded before the notifications button is added to the header. Therefore now it is checked if the Notifications app is available or not from the OC API. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
|---|---|---|
| .. | ||
| external.js | ||