From 8a650adfa238d3a59e396e8eb60b96276e99218d Mon Sep 17 00:00:00 2001 From: Johan Gunawan Date: Mon, 23 Jan 2023 17:19:06 -0500 Subject: [PATCH] Use formatString ISS implementation --- src/digital-components/button-question/button-question.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index 9b610437..95e80ce2 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -208,7 +208,7 @@ export default { }, methods: { formatString(str) { - return str?.replaceAll(" ", "-"); + return String(str).replaceAll(" ", "-"); }, setLastValuePushedToGa(lastValuePushedToGa) { this.lastValuePushedToGa = lastValuePushedToGa;