Do not copy if title isn't of type 'string' (#3657)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2021-08-23 15:27:54 +03:00
1 parent d3ce43e73d
commit 7b48ab0279
3 files changed
+5 -3

No files matched your search

@@ -173,7 +173,7 @@ export class HelmChartDetails extends Component<Props> {
render() {
const { chart, hideDetails } = this.props;
const title = chart ? <>Chart: {chart.getFullName()}</> : "";
const title = chart ? `Chart: ${chart.getFullName()}` : "";
return (
<Drawer