mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 00:27:49 -04:00
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>
This commit is contained in:
parent
ffda3db9e4
commit
38dd8b3d27
1 changed files with 0 additions and 7 deletions
|
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue