From 62ae603778c9dfd4f443ca41657d3b8855e5e504 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Thu, 6 Feb 2025 20:16:04 -0700 Subject: [PATCH] fix linting --- src/libs/util.ts | 2 +- src/views/ContactsView.vue | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/libs/util.ts b/src/libs/util.ts index e7f7ffc..546fca1 100644 --- a/src/libs/util.ts +++ b/src/libs/util.ts @@ -125,7 +125,7 @@ export const shortDid = (did: string) => { } else { return did.substring(0, did.indexOf(":", 4) + 7) + "..."; } -} +}; export const nameForDid = ( activeDid: string, diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 5504877..8e06f1a 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -1391,14 +1391,14 @@ export default class ContactsView extends Vue { const headers = await getHeaders(this.activeDid); const memberResponse = await this.axios.get( this.apiServer + "/api/partner/groupOnboardMember", - { headers } + { headers }, ); if (memberResponse.data.data) { // They're in a meeting, check if they're the host const hostResponse = await this.axios.get( this.apiServer + "/api/partner/groupOnboard", - { headers } + { headers }, ); if (hostResponse.data.data) { @@ -1416,23 +1416,25 @@ export default class ContactsView extends Vue { type: "confirm", title: "Onboarding Meeting", text: "Would you like to start a new meeting?", - onYes: () => { + onYes: async () => { (this.$router as Router).push({ name: "onboard-meeting-setup" }); }, yesText: "Start New Meeting", - onNo: () => { + onNo: async () => { (this.$router as Router).push({ name: "onboard-meeting-list" }); }, - noText: "Join Existing Meeting" + noText: "Join Existing Meeting", }, - -1 + -1, ); } } catch (error) { - logConsoleAndDb("Error checking meeting status:" + errorStringForLog(error)); + logConsoleAndDb( + "Error checking meeting status:" + errorStringForLog(error), + ); this.danger( "There was an error checking your meeting status.", - "Meeting Error" + "Meeting Error", ); } }