Use formatString ISS implementation

This commit is contained in:
Johan Gunawan 2023-01-23 17:19:06 -05:00
parent a1df895460
commit 8a650adfa2

View file

@ -208,7 +208,7 @@ export default {
}, },
methods: { methods: {
formatString(str) { formatString(str) {
return str?.replaceAll(" ", "-"); return String(str).replaceAll(" ", "-");
}, },
setLastValuePushedToGa(lastValuePushedToGa) { setLastValuePushedToGa(lastValuePushedToGa) {
this.lastValuePushedToGa = lastValuePushedToGa; this.lastValuePushedToGa = lastValuePushedToGa;