summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2023-10-31 00:07:53 +0100
committerGrigorii K. Shartsev <me@shgk.me>2023-10-31 01:17:22 +0100
commit38dd8b3d27a4f8116b7dcf50fbdc9c230e00c0da (patch)
treed45e3497392b1933dc0d6e7fc423f9b6c7f764ca /apps/files
parentffda3db9e460e1e11dda784e41fcea198d5ec47f (diff)
downloadnextcloud-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.js7
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();
- }
},
/**