Fixed #844 - Knob replaceAll causes issue with nuxt SSR

pull/880/head
Cagatay Civici 2021-01-20 12:48:51 +03:00
parent 1c36947e9e
commit 3b295a16d8
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ export default {
return this.valueRadians > this.zeroRadians ? 0 : 1;
},
valueToDisplay() {
return this.valueTemplate.replaceAll("{value}", this.modelValue);
return this.valueTemplate.replace(/{value}/g, this.modelValue);
}
}
}