You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/controls/listItemAttachments/ListItemAttachments.tsx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -274,8 +274,8 @@ export class ListItemAttachments extends React.Component<IListItemAttachmentsPro
274
274
directionalHint={DirectionalHint.rightCenter}>
275
275
276
276
<DocumentCard
277
-
onClickHref={!openAttachmentsInNewWindow&&`${(file.ServerRelativeUrl)}?web=1`}//NB - 20230607 - Fix for issue 1541
278
-
onClick={openAttachmentsInNewWindow&&(()=>window.open(`${(file.ServerRelativeUrl)}?web=1`,"_blank"))}//NB - 20230607 - Fix for issue 1541 // JJ - 20200613 - needed to support Microsoft Teams
onClick={openAttachmentsInNewWindow&&(()=>window.open(`${file.ServerRelativeUrl}?web=1`,"_blank"))}// JJ - 20200613 - needed to support Microsoft Teams
0 commit comments