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:
Grigorii K. Shartsev 2023-10-31 00:07:53 +01:00
parent ffda3db9e4
commit 38dd8b3d27

View file

@ -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();
}
},
/**