File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/mgt-person-card Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ export class MgtPersonCard extends MgtTemplatedComponent {
324324 phone = ( user as MicrosoftGraph . User ) . businessPhones [ 0 ] ;
325325 }
326326 e . stopPropagation ( ) ;
327- window . location . assign ( 'tel:' + phone ) ;
327+ window . open ( 'tel:' + phone , '_blank' ) ;
328328 }
329329
330330 private _emailUser ( e : Event ) {
@@ -335,7 +335,7 @@ export class MgtPersonCard extends MgtTemplatedComponent {
335335 email = getEmailFromGraphEntity ( user ) ;
336336 }
337337 e . stopPropagation ( ) ;
338- window . location . assign ( 'mailto:' + email ) ;
338+ window . open ( 'mailto:' + email , '_blank' ) ;
339339 }
340340
341341 private _chatUser ( e : Event ) {
@@ -346,7 +346,7 @@ export class MgtPersonCard extends MgtTemplatedComponent {
346346 chat = ( user as MicrosoftGraph . User ) . mailNickname ;
347347 }
348348 e . stopPropagation ( ) ;
349- window . location . assign ( 'sip:' + chat ) ;
349+ window . open ( 'sip:' + chat , '_blank' ) ;
350350 }
351351
352352 private async loadData ( ) {
You can’t perform that action at this time.
0 commit comments