aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/app.js')
-rw-r--r--apps/files/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js
index 75967ef5753..36afd9a80b7 100644
--- a/apps/files/js/app.js
+++ b/apps/files/js/app.js
@@ -313,7 +313,7 @@
view: 'files'
}, params);
- var lastId = this.navigation.active;
+ var lastId = this.getActiveView();
if (!this.navigation.views.find(view => view.id === params.view)) {
params.view = 'files';
}