X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/54377a7bacc182ace0bb8b55a812e0a9fee5ced8..ed2f44c981f2e8898bea9f791f947865b129f5e0:/services/workbench2/src/components/details-attribute/details-attribute.tsx diff --git a/services/workbench2/src/components/details-attribute/details-attribute.tsx b/services/workbench2/src/components/details-attribute/details-attribute.tsx index c10f558e77..019470c026 100644 --- a/services/workbench2/src/components/details-attribute/details-attribute.tsx +++ b/services/workbench2/src/components/details-attribute/details-attribute.tsx @@ -87,7 +87,7 @@ export const DetailsAttribute = connect(mapStateToProps)(withStyles(styles)( render() { const { uuidEnhancer, link, value, classes, linkToUuid, - localCluster, remoteHostsConfig, sessions, label } = this.props; + localCluster, remoteHostsConfig, sessions } = this.props; let valueNode: React.ReactNode; if (linkToUuid) { @@ -124,7 +124,7 @@ export const DetailsAttributeComponent = withStyles(styles)( className={classnames([props.classes.value, props.classValue, { [props.classes.lowercaseValue]: props.lowercaseValue }])}> {props.value} {props.children} - {(props.linkToUuid || props.copyValue) && props.onCopy && + {(props.linkToUuid || props.copyValue) && props.onCopy && props.onCopy!("Copied")}>