We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ee8a3 commit fb2b683Copy full SHA for fb2b683
menu-search-REST-API/scripts/app.js
@@ -38,6 +38,7 @@ angular.module('NarrowItDownApp', [])
38
var menu = this;
39
menu.itemName = "";
40
menu.searchButtonText = "";
41
+
42
console.log("menu.searchButtonText", menu.searchButtonText);
43
44
menu.getMatchedMenuItems = function() {
@@ -46,6 +47,8 @@ angular.module('NarrowItDownApp', [])
46
47
48
if(menu.itemName === "") {
49
menu.found =[];
50
+ menu.searchButtonText = "Searched";
51
+ console.log("menu.searchButtonText", menu.searchButtonText);
52
return;
53
}
54
0 commit comments