ConfigTemplate !! help

This commit is contained in:
saifullah-N
2022-12-23 00:21:23 +05:30
parent a1faa15015
commit 20360b983b

View File

@@ -70,7 +70,7 @@
} }
function getTitle(): string { function getTitle(): string {
const help = template.help ? `${template.help}\n` : ""; const help = !!template.help ? `${template.help}\n` : "";
return `${help}Default: ${template.default} ${template.unit || ""}`; return `${help}Default: ${template.default} ${template.unit || ""}`;
} }