@ -444,9 +444,6 @@ export default class OnboardMeetingView extends Vue {
/ / e s l i n t - d i s a b l e - n e x t - l i n e @ t y p e s c r i p t - e s l i n t / n o - e x p l i c i t - a n y
/ / e s l i n t - d i s a b l e - n e x t - l i n e @ t y p e s c r i p t - e s l i n t / n o - e x p l i c i t - a n y
this . allMyDids = await ( this as any ) . $getAllAccountDids ( ) ;
this . allMyDids = await ( this as any ) . $getAllAccountDids ( ) ;
/ / L o a d p r o j e c t s
await this . loadProjects ( ) ;
await this . fetchCurrentMeeting ( ) ;
await this . fetchCurrentMeeting ( ) ;
/ / E n s u r e s e l e c t e d p r o j e c t i s l o a d e d i f p r o j e c t L i n k e x i s t s
/ / E n s u r e s e l e c t e d p r o j e c t i s l o a d e d i f p r o j e c t L i n k e x i s t s
@ -525,7 +522,6 @@ export default class OnboardMeetingView extends Vue {
/ * *
/ * *
* Ensure the selected project is loaded if projectLink exists
* Ensure the selected project is loaded if projectLink exists
* Checks allProjects first , then fetches if not found
* /
* /
async ensureSelectedProjectLoaded ( ) : Promise < void > {
async ensureSelectedProjectLoaded ( ) : Promise < void > {
const projectLink =
const projectLink =
@ -537,16 +533,6 @@ export default class OnboardMeetingView extends Vue {
return ;
return ;
}
}
/ / C h e c k i f a l r e a d y l o a d e d i n a l l P r o j e c t s
const existingProject = this . allProjects . find (
( p ) => p . handleId === projectLink ,
) ;
if ( existingProject ) {
this . selectedProjectData = existingProject ;
return ;
}
/ / N o t i n a l l P r o j e c t s , f e t c h i t
await this . fetchProjectByHandleId ( projectLink ) ;
await this . fetchProjectByHandleId ( projectLink ) ;
}
}
@ -991,13 +977,18 @@ export default class OnboardMeetingView extends Vue {
}
}
/ * *
/ * *
* Handle dialog open event - stop auto - refresh in MembersList
* Handle dialog open event - stop auto - refresh in MembersList and load projects
* /
* /
handleDialogOpen ( ) : void {
async handleDialogOpen ( ) : Promise < void > {
const membersList = this . $refs . membersList as MembersList ;
const membersList = this . $refs . membersList as MembersList ;
if ( membersList ) {
if ( membersList ) {
membersList . stopAutoRefresh ( ) ;
membersList . stopAutoRefresh ( ) ;
}
}
/ / L o a d p r o j e c t s w h e n d i a l o g o p e n s ( i f n o t a l r e a d y l o a d e d )
if ( this . allProjects . length === 0 ) {
await this . loadProjects ( ) ;
}
}
}
/ * *
/ * *