diff --git a/src/filemanager.html b/src/filemanager.html index 0971cfc39..998184508 100644 --- a/src/filemanager.html +++ b/src/filemanager.html @@ -296,7 +296,7 @@
- +
diff --git a/src/js/filemanager.js b/src/js/filemanager.js index 2b6b67ed1..271317d57 100644 --- a/src/js/filemanager.js +++ b/src/js/filemanager.js @@ -69,6 +69,7 @@ app.controller('FileManagerController', ['$scope', '$translate', '$timeout', 'Cl $scope.cwdParts = []; $scope.id = search.appId || search.volumeId; $scope.type = search.appId ? 'app' : 'volume'; + $scope.rootDirLabel = ''; $scope.title = ''; $scope.entries = []; $scope.dropToBody = false; @@ -759,6 +760,7 @@ app.controller('FileManagerController', ['$scope', '$translate', '$timeout', 'Cl fetchVolumesInfo(result.mounts || []); $scope.title = $scope.type === 'app' ? (result.label || result.fqdn) : result.name; + $scope.rootDirLabel = $scope.type === 'app' ? '/app/data/' : result.hostPath; window.document.title = $scope.title + ' - ' + $translate.instant('filemanager.title'); // now mark the Client to be ready