diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-12 09:56:46 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-12 16:49:39 +0200 |
commit | ae86845062e6bf303799c8ff52fd997db6cd22ab (patch) | |
tree | 5ac103df2b7eb4e5087886790c3a75469c58f627 /apps/files/js/app.js | |
parent | 5bac9693511ca0e9e5f0553ecc8791cccf05c935 (diff) | |
download | nextcloud-server-ae86845062e6bf303799c8ff52fd997db6cd22ab.tar.gz nextcloud-server-ae86845062e6bf303799c8ff52fd997db6cd22ab.zip |
Fixed favorite folder view display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/js/app.js')
-rw-r--r-- | apps/files/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js index ec223e418b7..d407c49ea51 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -239,8 +239,8 @@ var params; if (e && e.itemId) { params = { - view: e.itemId, - dir: '/' + view: e.view !== '' ? e.view : e.itemId, + dir: e.dir ? e.dir : '/' }; this._changeUrl(params.view, params.dir); OC.Apps.hideAppSidebar($('.detailsView')); |