From 0b8df762f9ebb3f7ec330b07f8013c71acb90050 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 8 Oct 2024 12:38:03 +0530 Subject: [PATCH] chore: more debug --- .../layout/sidebarComponents/PrimaryNavItem.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components/layout/sidebarComponents/PrimaryNavItem.vue b/app/javascript/dashboard/components/layout/sidebarComponents/PrimaryNavItem.vue index 6d4596a92..f32f4b9aa 100644 --- a/app/javascript/dashboard/components/layout/sidebarComponents/PrimaryNavItem.vue +++ b/app/javascript/dashboard/components/layout/sidebarComponents/PrimaryNavItem.vue @@ -26,8 +26,14 @@ export default { default: false, }, }, + created() { + console.log('PRIMARY NAV ITEM', this.name, this.$t(`SIDEBAR.${this.name}`)); + }, + beforeMount() { + console.log('PRIMARY NAV ITEM', this.name, this.$t(`SIDEBAR.${this.name}`)); + }, mounted() { - console.log('PRIMARY NAV ITEM', this.name, this.$t('SIDEAR.SWITCH')); + console.log('PRIMARY NAV ITEM', this.name, this.$t(`SIDEBAR.${this.name}`)); }, };