From 595c17763943c35cfc3e5069339e318cdb8d12a3 Mon Sep 17 00:00:00 2001 From: Kelani Tolulope Date: Mon, 23 Oct 2023 12:48:59 +0100 Subject: [PATCH] apply review changes --- client/web/compose/src/views/Admin/Charts/Edit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/compose/src/views/Admin/Charts/Edit.vue b/client/web/compose/src/views/Admin/Charts/Edit.vue index 00f2bcec73..0824c60ac9 100644 --- a/client/web/compose/src/views/Admin/Charts/Edit.vue +++ b/client/web/compose/src/views/Admin/Charts/Edit.vue @@ -657,7 +657,7 @@ export default { const chart = this.chart.clone() chart.chartID = NoID chart.name = `${this.chart.name} (copy)` - chart.handle = `${this.chart.handle}_copy` + chart.handle = this.chart.handle ? `${this.chart.handle}_copy` : '' this.handleSave({ chart }) },