Skip to content

Commit fb2b683

Browse files
committed
Corrections in custom loader
1 parent d8ee8a3 commit fb2b683

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

menu-search-REST-API/scripts/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ angular.module('NarrowItDownApp', [])
3838
var menu = this;
3939
menu.itemName = "";
4040
menu.searchButtonText = "";
41+
4142
console.log("menu.searchButtonText", menu.searchButtonText);
4243

4344
menu.getMatchedMenuItems = function() {
@@ -46,6 +47,8 @@ angular.module('NarrowItDownApp', [])
4647
console.log("menu.searchButtonText", menu.searchButtonText);
4748
if(menu.itemName === "") {
4849
menu.found =[];
50+
menu.searchButtonText = "Searched";
51+
console.log("menu.searchButtonText", menu.searchButtonText);
4952
return;
5053
}
5154

0 commit comments

Comments
 (0)