diff options
author | Grigorii K. Shartsev <me@shgk.me> | 2023-10-31 00:07:53 +0100 |
---|---|---|
committer | Grigorii K. Shartsev <me@shgk.me> | 2023-10-31 01:17:22 +0100 |
commit | 38dd8b3d27a4f8116b7dcf50fbdc9c230e00c0da (patch) | |
tree | d45e3497392b1933dc0d6e7fc423f9b6c7f764ca /apps/files | |
parent | ffda3db9e460e1e11dda784e41fcea198d5ec47f (diff) | |
download | nextcloud-server-38dd8b3d27a4f8116b7dcf50fbdc9c230e00c0da.tar.gz nextcloud-server-38dd8b3d27a4f8116b7dcf50fbdc9c230e00c0da.zip |
fix(files): remove resetting and reload curr dir on show
It is handled by new navigation with Vue
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index af776cb8cd5..e3fe7608299 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -764,13 +764,6 @@ */ _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(); - } }, /** |