]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(files): remove resetting and reload curr dir on show
authorGrigorii K. Shartsev <me@shgk.me>
Mon, 30 Oct 2023 23:07:53 +0000 (00:07 +0100)
committerGrigorii K. Shartsev <me@shgk.me>
Wed, 1 Nov 2023 17:59:04 +0000 (18:59 +0100)
It is handled by new navigation with Vue

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
apps/files/js/filelist.js

index ae5eac7eb360badf69defe82cfef3a6f3f805540..344ce3292f59eba318be8b86499d69af16f0ee2e 100644 (file)
                 */
                _onShow: function(e) {
                        OCA.Files.App && OCA.Files.App.updateCurrentFileList(this);
-                       if (e.itemId === this.id) {
-                               this._setCurrentDir('/', false);
-                       }
-                       // Only reload if we don't navigate to a different directory
-                       if (typeof e.dir === 'undefined' || e.dir === this.getCurrentDirectory()) {
-                               this.reload();
-                       }
                },
 
                /**