hide smart search also

This commit is contained in:
Chris Meyers
2017-01-24 15:33:18 -05:00
parent ecb3082490
commit cf52b82fa6
2 changed files with 10 additions and 6 deletions

View File

@@ -1836,7 +1836,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
// smart-search directive
html += `
<div
ng-hide="${itm}.length === 0 && (searchTags | isEmpty)">
ng-hide="(${itm}.length === 0 && (searchTags | isEmpty)) || hideSmartSearch === true">
<smart-search
django-model="${itm}"
search-size="${width}"