Skip to content

Commit

Permalink
PR suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Dec 15, 2023
1 parent 47aefc5 commit b8d0ce6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@

<script setup>
import { createFetch } from '@vueuse/core';
import {
inject, provide, onMounted, computed,
} from 'vue';
import { inject, provide, computed } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import NavBar from '@/components/NavBar';
import TitleBar from '@/components/TitleBar';
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/SettingsAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ const router = useRouter();
const user = useUserStore();
const externalConnectionsStore = useExternalConnectionsStore();
// Currently we only support one zoom account being connected at once.
const hasZoomAccountConnected = computed(() => (externalConnectionsStore.zoom.length) > 0);
const zoomAccountName = computed(() => (externalConnectionsStore.zoom[0].name ?? null));
const zoomAccountName = computed(() => (externalConnectionsStore.zoom[0]?.name ?? null));
const activeUsername = ref(user.data.username);
const activeDisplayName = ref(user.data.name);
Expand Down

0 comments on commit b8d0ce6

Please sign in to comment.