From 3157946186f300a52a05d3ed03d3cbe0edceb5d3 Mon Sep 17 00:00:00 2001 From: Vadim Date: Tue, 29 Sep 2026 09:43:17 +0300 Subject: [PATCH] fixes --- ...shboardCard.vue => DashboardCountCard.vue} | 9 +++- src/components/ProjectMenu.vue | 18 ++++--- src/views/HomeView.vue | 49 ++++++++----------- 3 files changed, 39 insertions(+), 37 deletions(-) rename src/components/{DashboardCard.vue => DashboardCountCard.vue} (62%) diff --git a/src/components/DashboardCard.vue b/src/components/DashboardCountCard.vue similarity index 62% rename from src/components/DashboardCard.vue rename to src/components/DashboardCountCard.vue index 6b40fb4..63441cc 100644 --- a/src/components/DashboardCard.vue +++ b/src/components/DashboardCountCard.vue @@ -5,11 +5,16 @@ interface Props { alert?: boolean } -defineProps() +const { label, value, alert } = defineProps() +const emit = defineEmits<{ click: [] }>() + +function onClick() { + emit('click') +}