Added message for no result when searching
[u/erikhf/frm.git] / src / components / search / search.html
index c425196..a890ab8 100644 (file)
@@ -14,7 +14,7 @@
                     name="livesearch"
                     id="livesearch"
                     placeholder="Search"
-                    value="" (keydown)="searchKeydown()"/>
+                    value=""/>
 
 
             <!--<button class="exitsearch" id="exitsearch" (click)="emptyByClick()">
@@ -34,6 +34,9 @@
             <li id="c" *ng-for="#orgunit of filteredOrgunits" id="orglist" (click)="getMoreInfo(orgunit)">
                 <a id="left-menu" href="#">{{orgunit.name}}<br/><span>{{orgunit.lastUpdated}}</span></a>
             </li>
+            <li *ng-if="filteredOrgunits.length == 0">
+                No matching results
+            </li>
         </ul>
     </div>