projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '19900-process-404-handling' into main. Closes #19900
[arvados-workbench2.git]
/
src
/
components
/
details-attribute
/
details-attribute.tsx
diff --git
a/src/components/details-attribute/details-attribute.tsx
b/src/components/details-attribute/details-attribute.tsx
index 7b2b119ba9782926340cdc7445faf940b5077378..92d31b0b8e278b924bfc7fb2d25a61f5a497de1d 100644
(file)
--- a/
src/components/details-attribute/details-attribute.tsx
+++ b/
src/components/details-attribute/details-attribute.tsx
@@
-24,7
+24,7
@@
const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
},
label: {
boxSizing: 'border-box',
},
label: {
boxSizing: 'border-box',
- color: theme.palette.grey["
5
00"],
+ color: theme.palette.grey["
6
00"],
width: '100%'
},
value: {
width: '100%'
},
value: {
@@
-42,7
+42,7
@@
const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
},
copyIcon: {
marginLeft: theme.spacing.unit,
},
copyIcon: {
marginLeft: theme.spacing.unit,
- color: theme.palette.grey["
5
00"],
+ color: theme.palette.grey["
6
00"],
cursor: 'pointer',
display: 'inline',
'& svg': {
cursor: 'pointer',
display: 'inline',
'& svg': {
@@
-95,10
+95,10
@@
export const DetailsAttribute = connect(mapStateToProps)(withStyles(styles)(
if (linkUrl[0] === '/') {
valueNode = <Link to={linkUrl} className={classes.link}>{uuid}</Link>;
} else {
if (linkUrl[0] === '/') {
valueNode = <Link to={linkUrl} className={classes.link}>{uuid}</Link>;
} else {
- valueNode = <a href={linkUrl} className={classes.link} target='_blank'>{uuid}</a>;
+ valueNode = <a href={linkUrl} className={classes.link} target='_blank'
rel="noopener noreferrer"
>{uuid}</a>;
}
} else if (link) {
}
} else if (link) {
- valueNode = <a href={link} className={classes.link} target='_blank'>{value}</a>;
+ valueNode = <a href={link} className={classes.link} target='_blank'
rel="noopener noreferrer"
>{value}</a>;
} else {
valueNode = value;
}
} else {
valueNode = value;
}