diff --git a/.gitignore b/.gitignore index 585e78b..479f83d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,7 @@ dist node_modules # Logs -logs +./logs *.log # Misc diff --git a/app/assets/css/tailwind.css b/app/assets/css/tailwind.css index 280d20f..64d822f 100644 --- a/app/assets/css/tailwind.css +++ b/app/assets/css/tailwind.css @@ -42,8 +42,8 @@ --vis-tooltip-backdrop-filter: none !important; --vis-tooltip-padding: none !important; - --vis-primary-color: 198 93% 60%; - --vis-secondary-color: 158 64% 52%; + --vis-primary-color: 158 64% 52%; + --vis-secondary-color: 198 93% 60%; /* --vis-secondary-color: 160 81% 40%; */ /* --vis-secondary-color: var(--primary); */ --vis-text-color: var(--muted-foreground); diff --git a/app/components/dashboard/Nav.vue b/app/components/dashboard/Nav.vue index 87871a0..1f74333 100644 --- a/app/components/dashboard/Nav.vue +++ b/app/components/dashboard/Nav.vue @@ -18,9 +18,9 @@ const route = useRoute() {{ $t('nav.analysis') }} - + diff --git a/app/components/dashboard/TimePicker.vue b/app/components/dashboard/TimePicker.vue new file mode 100644 index 0000000..7214ca1 --- /dev/null +++ b/app/components/dashboard/TimePicker.vue @@ -0,0 +1,95 @@ + + + diff --git a/app/components/dashboard/analysis/Counters.vue b/app/components/dashboard/analysis/Counters.vue index e6fcaac..60b2ace 100644 --- a/app/components/dashboard/analysis/Counters.vue +++ b/app/components/dashboard/analysis/Counters.vue @@ -26,17 +26,13 @@ async function getLinkCounters() { counters.value = data?.[0] } -const stopWatchQueryChange = watch([time, filters], getLinkCounters, { +watch([time, filters], getLinkCounters, { deep: true, }) onMounted(async () => { getLinkCounters() }) - -onBeforeUnmount(() => { - stopWatchQueryChange() -})