Skip to content

Commit 4d6f91c

Browse files
committed
Fix
1 parent 718a782 commit 4d6f91c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chart/ChartUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export function replaceDashboardParameters(str, parameters) {
209209

210210
Object.keys(parameters).forEach((key) => {
211211
let valueRender = RenderSubValue(parameters[key]);
212-
newString = newString.replaceAll(`$${key}`, `${valueRender} `);
212+
newString = newString.replaceAll(`$${key} `, `${valueRender} `);
213213
newString = newString.replaceAll(`$${key},`, `${valueRender},`);
214214
newString = newString.replaceAll(`$${key}.`, `${valueRender}.`);
215215
newString = newString.replaceAll(`$${key})`, `${valueRender})`);

0 commit comments

Comments
 (0)