diff options
Diffstat (limited to 'apps/files_external/js/statusmanager.js')
-rw-r--r-- | apps/files_external/js/statusmanager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 0ffaad9fe40..5f94192ea35 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -584,7 +584,7 @@ OCA.Files_External.StatusManager.Utils = { isCorrectViewAndRootFolder: function () { // correct views = files & extstoragemounts if (OCA.Files.App.getActiveView() === 'files' || OCA.Files.App.getActiveView() === 'extstoragemounts') { - return OCA.Files.App.getCurrentAppContainer().find('#dir').val() === '/'; + return OCA.Files.App.currentFileList.getCurrentDirectory() === '/'; } return false; }, |