Fixed #844 - Knob replaceAll causes issue with nuxt SSR
parent
1c36947e9e
commit
3b295a16d8
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue