Use exact domain matching to filter apps for a domain

This commit is contained in:
Johannes Zellner
2019-04-02 12:41:23 +02:00
parent daf7e2313b
commit 3fc6141d57

View File

@@ -523,7 +523,7 @@
<div ng-repeat="domain in domains" ng-show="domainHasApps(domain)">
<h2 class="domain-header" ng-show="moreThanOneDomainHasApps()">{{ domain.domain }}</h2>
<div class="app-grid">
<div class="grid-item" ng-repeat="app in installedApps | filter:{domain:domain.domain} | orderBy:'location'">
<div class="grid-item" ng-repeat="app in installedApps | filter:{domain:domain.domain}:true | orderBy:'location'">
<a ng-href="{{ app | applicationLink }}" ng-click="((app | installError) === true && showError(app)) || ((app | appIsInstalledAndHealthy) && app.pendingPostInstallConfirmation && appPostInstallConfirm.show(app))" target="_blank" ng-class="{ 'hand': (app | appIsInstalledAndHealthy) }">
<div style="background-color: white;" class="highlight grid-item-content" uib-tooltip="{{ app.fqdn }}">
<div class="grid-item-top">