Skip to content

Commit

Permalink
Update toolbar title in MainComponent.vue for better readability and …
Browse files Browse the repository at this point in the history
…fix typo in displayedViewName
  • Loading branch information
martedesco committed Jun 2, 2024
1 parent 0540c43 commit de79474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MainComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<v-icon>mdi-github</v-icon>
</v-btn>

<v-toolbar-title class="toolbar-title">Copilot Metrics Viewer | {{ capitalizedItemName }} : {{ dispalyedViewName }}</v-toolbar-title>
<v-toolbar-title class="toolbar-title">Copilot Metrics Viewer | {{ capitalizedItemName }} : {{ displayedViewName }}</v-toolbar-title>
<h2 class="error-message"> {{ mockedDataMessage }} </h2>
<v-spacer></v-spacer>

Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit de79474

Please sign in to comment.