Merge branch '21448-menu-reorder'
[arvados.git] / services / workbench2 / src / store / open-in-new-tab / open-in-new-tab.actions.ts
index 83055e32fcbd3750e50b648c4166f6d618b469de..2d1ab2e40d450eb49788eb7f79ec0bb3b995cfbc 100644 (file)
@@ -12,14 +12,14 @@ export const openInNewTabAction = (resource: any) => (dispatch: Dispatch, getSta
     const url = getNavUrl(resource.uuid, getState().auth);
 
     if (url[0] === "/") {
-        window.open(`${window.location.origin}${url}`, "_blank");
+        window.open(`${window.location.origin}${url}`, "_blank", "noopener");
     } else if (url.length) {
-        window.open(url, "_blank");
+        window.open(url, "_blank", "noopener");
     }
 };
 
 export const copyToClipboardAction = (resources: Array<any>) => (dispatch: Dispatch, getState: () => RootState) => {
-    // Copy to clipboard omits token to avoid accidental sharing
+    // Copy link to clipboard omits token to avoid accidental sharing
 
     let url = getNavUrl(resources[0].uuid, getState().auth, false);
     let wasCopied;