diff --git a/packages/string-templates/src/conversion/index.ts b/packages/string-templates/src/conversion/index.ts index 7eb5ea71af..25700951c9 100644 --- a/packages/string-templates/src/conversion/index.ts +++ b/packages/string-templates/src/conversion/index.ts @@ -58,7 +58,7 @@ function buildList(parts: string[], value: any) { if (!value) { return parts.length > 1 ? `${build()}` : build() } else { - return parts.length === 0 ? value : `${value}, ${build()}` + return parts.length === 0 ? value : `${build()}, ${value}` } }