Commit 51035b0 1 parent e1e78b1 commit 51035b0 Copy full SHA for 51035b0
File tree 1 file changed +19
-6
lines changed
src/components/Communicator/CommunicatorDialog
1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -264,10 +264,15 @@ class CommunicatorDialogBoardItem extends React.Component {
264
264
userData,
265
265
communicator,
266
266
activeBoardId,
267
- addOrRemoveBoard,
267
+ addOrRemoveBoard
268
268
} = this . props ;
269
269
const title = board . name || board . id ;
270
- const boardUrl = window . location . origin + '/' + window . location . pathname . split ( '/' ) [ 1 ] + '/' + board . id ;
270
+ const boardUrl =
271
+ window . location . origin +
272
+ '/' +
273
+ window . location . pathname . split ( '/' ) [ 1 ] +
274
+ '/' +
275
+ board . id ;
271
276
const displayActions =
272
277
selectedTab === TAB_INDEXES . MY_BOARDS ||
273
278
selectedTab === TAB_INDEXES . PUBLIC_BOARDS ||
@@ -566,10 +571,18 @@ class CommunicatorDialogBoardItem extends React.Component {
566
571
< b > { intl . formatMessage ( messages . boardInfoId ) } :</ b > { ' ' }
567
572
{ board . id }
568
573
</ Typography >
569
- < Typography variant = "body1" gutterBottom >
570
- < b > { intl . formatMessage ( messages . boardInfoUrl ) } :</ b > { ' ' }
571
- < a href = { boardUrl } target = "_blank" rel = "noopener noreferrer" > { boardUrl } </ a >
572
- </ Typography >
574
+ { ! isCordova ( ) && (
575
+ < Typography variant = "body1" gutterBottom >
576
+ < b > { intl . formatMessage ( messages . boardInfoUrl ) } :</ b > { ' ' }
577
+ < a
578
+ href = { boardUrl }
579
+ target = "_blank"
580
+ rel = "noopener noreferrer"
581
+ >
582
+ { boardUrl }
583
+ </ a >
584
+ </ Typography >
585
+ ) }
573
586
</ DialogContentText >
574
587
</ DialogContent >
575
588
< DialogActions >
You can’t perform that action at this time.
0 commit comments