Only show domains where apps are installed at
This commit is contained in:
@@ -17,6 +17,10 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
$scope.spacesSuffix = '';
|
||||
$scope.disableIndexingTemplate = '# Disable search engine indexing\n\nUser-agent: *\nDisallow: /';
|
||||
|
||||
$scope.domainHasApps = function (domain) {
|
||||
return !!$scope.installedApps.find(function (a) { return a.domain === domain.domain; });
|
||||
};
|
||||
|
||||
$scope.appConfigure = {
|
||||
busy: false,
|
||||
error: {},
|
||||
|
||||
Reference in New Issue
Block a user