]> source.dussan.org Git - nextcloud-server.git/commit
fix(files_trashbin): Only remove element if loaded
authorFerdinand Thiessen <opensource@fthiessen.de>
Sun, 24 Sep 2023 15:49:21 +0000 (17:49 +0200)
committerFerdinand Thiessen <opensource@fthiessen.de>
Sun, 24 Sep 2023 15:49:21 +0000 (17:49 +0200)
commit95acf8a0e9b005ee1f27698cbd94427a290ad8e9
tree071f2de9ff8e9aec2ddfa95109fa597e7c770b69
parentb1a4b3b76491725ea943cf17d2a9b80e19a0b47c
fix(files_trashbin): Only remove element if loaded

Make sure to only remove elements from file list (while restoring)
if the element was added to the file list (might not be added, if the list is scrolling).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/files_trashbin/src/filelist.js