From 4cf6f8981449b7be9f68aded44c1f3ea47403ac1 Mon Sep 17 00:00:00 2001 From: Kelani Tolulope Date: Mon, 23 Oct 2023 12:34:39 +0100 Subject: [PATCH] apply review changes --- client/web/compose/src/views/Admin/Modules/Edit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/compose/src/views/Admin/Modules/Edit.vue b/client/web/compose/src/views/Admin/Modules/Edit.vue index a8082e5af6..d389b73bb8 100644 --- a/client/web/compose/src/views/Admin/Modules/Edit.vue +++ b/client/web/compose/src/views/Admin/Modules/Edit.vue @@ -846,7 +846,7 @@ export default { const module = this.module.clone() module.moduleID = NoID module.name = `${this.module.name} (copy)` - module.handle = `${this.module.handle}_copy` + module.handle = this.module.handle ? `${this.module.handle}_copy` : '' this.handleSave({ module }) },