Hide "Create new" header in Nested Content create item dialog if all items are filtered out
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="umb-overlay__section-header" ng-if="::(model.pasteItems | filter:searchTerm).length > 0">
|
||||
<div class="umb-overlay__section-header" ng-if="(model.availableItems | filter:searchTerm).length > 0">
|
||||
<h5><localize key="content_createEmpty">Create new</localize></h5>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user