File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,13 @@ export class NethLinkController {
4242 this . window . emit ( IPC_EVENTS . ACCOUNT_CHANGE , account )
4343 }
4444
45- show ( ) {
45+ loadData ( ) {
4646 this . fetchOperatorsAndEmit ( )
4747 this . fetchHistoryCallsAndEmit ( )
4848 this . fetchSpeeddialsAndEmit ( )
49+ }
50+ show ( ) {
51+ this . loadData ( )
4952 this . window . show ( )
5053 }
5154
Original file line number Diff line number Diff line change @@ -144,6 +144,9 @@ export function registerIpcEvents() {
144144 const nethlinkExtension = account ! . data ! . endpoints . extension . find ( ( el ) => el . type === 'nethlink' )
145145 NethVoiceAPI . instance . User . heartbeat ( `${ nethlinkExtension ! . id } ` )
146146 break ;
147+ case PHONE_ISLAND_EVENTS [ 'phone-island-call-ended' ] :
148+ NethLinkController . instance . loadData ( )
149+ break ;
147150 }
148151 // if (ev === PHONE_ISLAND_EVENTS['phone-island-call-answered']) {
149152 // const username = AccountController.instance.getLoggedAccount()?.username
You can’t perform that action at this time.
0 commit comments