forked from MTSR/mapserver
17 lines
309 B
JavaScript
17 lines
309 B
JavaScript
|
|
||
|
|
||
|
var SearchMenu = {
|
||
|
view: function(){
|
||
|
var style = {};
|
||
|
|
||
|
if (!SearchStore.search) {
|
||
|
style.display = "none";
|
||
|
}
|
||
|
|
||
|
return m("div", { class: "card", id: "search-menu", style: style }, [
|
||
|
m("div", { class: "card-header" }, "Search"),
|
||
|
m("div", { class: "card-body" })
|
||
|
]);
|
||
|
}
|
||
|
}
|