mirror of
https://github.com/nextcloud/server.git
synced 2026-04-13 13:08:09 -04:00
Merge pull request #19441 from nextcloud/backport/19431/stable18
[stable18] Show proper file name when fetching details fails
This commit is contained in:
commit
6c1d939447
1 changed files with 2 additions and 2 deletions
|
|
@ -2949,8 +2949,8 @@
|
|||
deferred.resolve(status, data);
|
||||
})
|
||||
.fail(function(status) {
|
||||
OC.Notification.show(t('files', 'Could not create file "{file}"',
|
||||
{file: name}), {type: 'error'}
|
||||
OCP.Toast.error(
|
||||
t('files', 'Could not fetch file details "{file}"', { file: fileName })
|
||||
);
|
||||
deferred.reject(status);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue