mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Hide notification on delete
In case a permanent notification "storage full" was displayed, it will be hidden after deleting a file. Directly after that a getstoragestats.php call is made that will decide whether to reshow the notification based on the new free space.
This commit is contained in:
parent
3891cd9068
commit
cdc1386885
1 changed files with 2 additions and 0 deletions
|
|
@ -2011,6 +2011,8 @@
|
|||
self.fileSummary.update();
|
||||
self.updateSelectionSummary();
|
||||
self.updateStorageStatistics();
|
||||
// in case there was a "storage full" permanent notification
|
||||
OC.Notification.hide();
|
||||
} else {
|
||||
if (result.status === 'error' && result.data.message) {
|
||||
OC.Notification.show(result.data.message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue