From a3449c489367ec2f1f584b1253762200440276a6 Mon Sep 17 00:00:00 2001 From: chuangxke Date: Tue, 12 Jul 2022 17:08:19 +0800 Subject: [PATCH] config_tools: add two spaces for error messgae. add two spacings in alert sentence. Tracked-On: #7915 Signed-off-by: Chuang-Ke Reviewed-by:Junjie Mao --- .../configurator/packages/configurator/src/pages/Config.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue index b22bd1f73..55e5c6ed7 100644 --- a/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue +++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue @@ -354,8 +354,8 @@ export default { console.log(vmNameArr) for (let i = 0; i < vmNameArr.length - 1; i++) { if (vmNameArr[i] === vmNameArr[i + 1]) { - alert("ERROR\n" + `Multiple VMs have the same name: ${vmNameArr[i]}.` + - "Your configuration cannot be saved." + "Make sure each VM has a unique name."); + alert("ERROR\n" + `Multiple VMs have the same name: ${vmNameArr[i]}. ` + + "Your configuration cannot be saved. " + "Make sure each VM has a unique name."); errorFlag = true } }