From de7947428f1a927ac88be7e68cb8c1b3103151e7 Mon Sep 17 00:00:00 2001 From: Marcio Tedesco Date: Sun, 2 Jun 2024 13:27:08 +0200 Subject: [PATCH] Update toolbar title in MainComponent.vue for better readability and fix typo in displayedViewName --- src/components/MainComponent.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MainComponent.vue b/src/components/MainComponent.vue index 7b12cc2..d23a80b 100644 --- a/src/components/MainComponent.vue +++ b/src/components/MainComponent.vue @@ -5,7 +5,7 @@ mdi-github - Copilot Metrics Viewer | {{ capitalizedItemName }} : {{ dispalyedViewName }} + Copilot Metrics Viewer | {{ capitalizedItemName }} : {{ displayedViewName }}

{{ mockedDataMessage }}

@@ -82,7 +82,7 @@ export default defineComponent({ capitalizedItemName():string { return this.itemName.charAt(0).toUpperCase() + this.itemName.slice(1); }, - dispalyedViewName(): string { + displayedViewName(): string { return this.capitalizedItemName === 'Enterprise' ? process.env.VUE_APP_GITHUB_ENT: process.env.VUE_APP_GITHUB_ORG; }, isScopeOrganization() {