Add ability to attach freeform text tags to apps

This commit is contained in:
Johannes Zellner
2019-04-11 17:06:16 +02:00
parent 7c76ad2088
commit a9400785ca
2 changed files with 10 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
alternateSubdomain: '',
alternateDomain: null,
ssoAuth: false,
tags: '',
action: 'general',
@@ -126,6 +127,9 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
}
}
// translate for tag-input
$scope.appConfigure.tags = app.tags ? app.tags.join(',') : '';
$('#appConfigureModal').modal('show');
},
@@ -166,6 +170,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
enableBackup: $scope.appConfigure.enableBackup,
enableAutomaticUpdate: $scope.appConfigure.enableAutomaticUpdate,
alternateDomains: [],
tags: $scope.appConfigure.tags.split(','),
dataDir: $scope.appConfigure.dataDirEnabled ? $scope.appConfigure.dataDir : ''
};