Add For Sale Sign into searches
This commit is contained in:
parent
134eee104f
commit
cad800fbee
@ -31,6 +31,7 @@ function search(query){
|
||||
searchFor("label", "text", query),
|
||||
searchFor("digiterm", "display_text", query),
|
||||
searchFor("digilinelcd", "text", query)
|
||||
searchFor("um_area_forsale", "description", query)
|
||||
];
|
||||
|
||||
Promise.all(prom_list)
|
||||
|
@ -88,6 +88,12 @@ export default {
|
||||
]);
|
||||
}
|
||||
|
||||
// For Sale Sign
|
||||
if (obj.type == "um_area_forsale"){
|
||||
description = m("span", obj.attributes.description || "No Description");
|
||||
type = m("img", { src: "pics/um_area_forsale_sign_alpha.png" });
|
||||
}
|
||||
|
||||
//shop
|
||||
if (obj.type == "shop") {
|
||||
if (obj.attributes.stock == 0){
|
||||
|
Loading…
Reference in New Issue
Block a user