ConfigTemplate !! help
This commit is contained in:
@@ -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 || ""}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user