This commit is contained in:
@@ -6,14 +6,14 @@
|
|||||||
<DatePicker v-model="time" placeholder="01.01.2026" />
|
<DatePicker v-model="time" placeholder="01.01.2026" />
|
||||||
<button
|
<button
|
||||||
class="dark:bg-orange-500 hover:dark:bg-orange-600 ml-4 shadow text-white bg-sky-700 w-1/2 hover:bg-sky-900 rounded-xl px-2 min-h-11 cursor-pointer"
|
class="dark:bg-orange-500 hover:dark:bg-orange-600 ml-4 shadow text-white bg-sky-700 w-1/2 hover:bg-sky-900 rounded-xl px-2 min-h-11 cursor-pointer"
|
||||||
@click="start_parser_1"
|
@click="startParser1"
|
||||||
>
|
>
|
||||||
Парсить 1 источник
|
Парсить 1 источник
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
class="dark:bg-orange-500 hover:dark:bg-orange-600 sm:ml-2 shadow mt-1 sm:mt-0 text-white w-full sm:max-w-50 bg-sky-700 hover:bg-sky-900 rounded-xl px-2 min-h-11 cursor-pointer"
|
class="dark:bg-orange-500 hover:dark:bg-orange-600 sm:ml-2 shadow mt-1 sm:mt-0 text-white w-full sm:max-w-50 bg-sky-700 hover:bg-sky-900 rounded-xl px-2 min-h-11 cursor-pointer"
|
||||||
@click="start_parser_2"
|
@click="startParser2"
|
||||||
>
|
>
|
||||||
Парсить 2 источник
|
Парсить 2 источник
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ const totalCount = computed(() => {
|
|||||||
|
|
||||||
function toggleCounts() {
|
function toggleCounts() {
|
||||||
showCounts.value = !showCounts.value
|
showCounts.value = !showCounts.value
|
||||||
if (showCounts.value && !loading.value && totalCount.value === 0) {
|
if (showCounts.value ) { //&& !loading.value && totalCount.value === 0
|
||||||
loadCounts()
|
loadCounts()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user