Only show app search field if more than 10 apps are installed

This commit is contained in:
Johannes Zellner
2020-01-07 11:13:22 +01:00
parent f07e0bf967
commit dbba99eee5

View File

@@ -67,7 +67,7 @@
Your Apps
<div class="pull-right">
<form class="form-inline">
<input type="text" class="form-control" placeholder="Search Apps" id="appSearch" ng-model="appSearch"/>
<input type="text" class="form-control" placeholder="Search Apps" id="appSearch" ng-model="appSearch" ng-show="installedApps.length > 10"/>
<multiselect ng-model="selectedTags" ng-show="tags.length > 0" ms-header="All Tags" ms-selected="Tags: {{ selectedTags.join(', ') }}" options="tag for tag in tags" data-multiple="true" filter-after-rows="5" scroll-after-rows="10"></multiselect>
<multiselect ng-model="selectedDomain" ng-show="filterDomains.length > 2" data-compare-by="domain" ms-selected="{{ selectedDomain.domain }}" options="domain.domain for domain in filterDomains" data-multiple="false" filter-after-rows="5" scroll-after-rows="10"></multiselect>
</form>