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