Make filesystem header a link if it is an app
This commit is contained in:
@@ -78,6 +78,7 @@ app.controller('FileManagerController', ['$scope', '$translate', '$timeout', 'Cl
|
||||
$scope.sortProperty = 'fileName';
|
||||
$scope.view = 'fileTree';
|
||||
$scope.volumes = [];
|
||||
$scope.applicationLink = '';
|
||||
|
||||
$scope.owners = [
|
||||
{ name: 'cloudron', value: 1000 },
|
||||
@@ -1041,6 +1042,7 @@ app.controller('FileManagerController', ['$scope', '$translate', '$timeout', 'Cl
|
||||
case 'app':
|
||||
$scope.title = result.label || result.fqdn;
|
||||
$scope.rootDirLabel = '/app/data/';
|
||||
$scope.applicationLink = 'https://' + result.fqdn;
|
||||
break;
|
||||
case 'volume':
|
||||
$scope.title = result.name;
|
||||
|
||||
Reference in New Issue
Block a user