From 1b8531a1984a09842f8a186ed3883f64f3b58e79 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 21 May 2025 16:51:47 +0200 Subject: [PATCH] Fix: bot timer can't be negative or null. --- CHANGELOG.md | 1 + .../configuration/elements/templates/channel-configuration.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0298b84c..7d0d4d50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * Fix #75: New short video urls makes it difficult to use the settings «Activate chat for these videos». * Fix moderation notes: fix filter button wrongly displayed on notes without associated occupant. * Fix tasks: checkbox state does not change when clicked. +* Fix: bot timer can't be negative or null. ## 12.0.4 diff --git a/client/common/configuration/elements/templates/channel-configuration.ts b/client/common/configuration/elements/templates/channel-configuration.ts index 293af21d..35fe1ae4 100644 --- a/client/common/configuration/elements/templates/channel-configuration.ts +++ b/client/common/configuration/elements/templates/channel-configuration.ts @@ -97,7 +97,8 @@ export function tplChannelConfiguration (el: ChannelConfigurationElement): Templ }, delay: { inputType: 'number', - default: 10 + default: 10, + min: 1 } }, commands: {