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}`)); }, };