From 1f62c131d65e0aa26d87c68ba3578e5757faf4e5 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 6 Mar 2023 14:27:54 +0100 Subject: [PATCH] [editor] Fix number-of-lines mode causing type-error Signed-off-by: Knut Ahlers --- src/automessages.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/automessages.vue b/src/automessages.vue index 9f0a0e6..fe0b336 100644 --- a/src/automessages.vue +++ b/src/automessages.vue @@ -407,6 +407,7 @@ export default { delete obj.message_interval } else if (this.models.autoMessage.sendMode === 'lines') { delete obj.cron + obj.message_interval = Number(obj.message_interval) // Enforce this is a number, not a string } let promise = null