tangning преди 1 ден
родител
ревизия
e937cd0caf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/app/map/App.vue

+ 1 - 1
src/app/map/App.vue

@@ -233,7 +233,7 @@ watch(
 const initMakers = async () => {
   const data = (await getDataQuest()) as any as any[];
   const positions: any[] = [];
-  list.value = data.filter((i) => i.latAndLong) as any[];
+  list.value = data.filter((i) => i.latAndLong && i.mapShow) as any[];
   console.log("list", list.value);
   Array.from(list.value).forEach((item: any) => {
     // console.log(item)