19153: Use server configuration
[arvados-workbench2.git] / src / views-components / context-menu / actions / file-viewer-action.tsx
index e31bb10d441b5b135a6bf7c79fde8de1726768a8..5d98ab6e131bf3ad7716f4a49e5d6a30467265cf 100644 (file)
@@ -2,9 +2,9 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from "react";
+import React from "react";
 import { ListItemIcon, ListItemText, ListItem } from "@material-ui/core";
-import { OpenIcon } from "~/components/icon/icon";
+import { OpenIcon } from "components/icon/icon";
 
 export const FileViewerAction = (props: any) => {
     return props.href
@@ -12,6 +12,7 @@ export const FileViewerAction = (props: any) => {
             style={{ textDecoration: 'none' }}
             href={props.href}
             target="_blank"
+            rel="noopener noreferrer"
             onClick={props.onClick}>
             <ListItem button>
                 <ListItemIcon>