config_tools: add two spaces for error messgae.
add two spacings in alert sentence. Tracked-On: #7915 Signed-off-by: Chuang-Ke <chuangx.ke@intel.com> Reviewed-by:Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
6ced747e10
commit
a3449c4893
|
@ -354,8 +354,8 @@ export default {
|
||||||
console.log(vmNameArr)
|
console.log(vmNameArr)
|
||||||
for (let i = 0; i < vmNameArr.length - 1; i++) {
|
for (let i = 0; i < vmNameArr.length - 1; i++) {
|
||||||
if (vmNameArr[i] === vmNameArr[i + 1]) {
|
if (vmNameArr[i] === vmNameArr[i + 1]) {
|
||||||
alert("ERROR\n" + `Multiple VMs have the same name: ${vmNameArr[i]}.` +
|
alert("ERROR\n" + `Multiple VMs have the same name: ${vmNameArr[i]}. ` +
|
||||||
"Your configuration cannot be saved." + "Make sure each VM has a unique name.");
|
"Your configuration cannot be saved. " + "Make sure each VM has a unique name.");
|
||||||
errorFlag = true
|
errorFlag = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue