From b735054425df0ca90d89be57ee3e3d9320cef6d5 Mon Sep 17 00:00:00 2001 From: Mateusz Szczygiel Date: Fri, 20 Sep 2024 08:01:36 +0200 Subject: [PATCH] CR fix --- hermes-console/src/dummy/topic-form.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hermes-console/src/dummy/topic-form.ts b/hermes-console/src/dummy/topic-form.ts index 809c865ee7..af21cde489 100644 --- a/hermes-console/src/dummy/topic-form.ts +++ b/hermes-console/src/dummy/topic-form.ts @@ -43,8 +43,8 @@ export const dummyTopicFormValidator = { ownerSource: [required()], owner: [required()], contentType: [required()], - retentionTimeDurationDays: [required(), min(0), max(7)], - retentionTimeDurationHours: [required(), min(0), max(24)], + retentionTimeDurationDays: [required(), min(1), max(7)], + retentionTimeDurationHours: [required(), min(1), max(24)], maxMessageSize: [required(), min(0)], offlineRetentionTime: [required(), min(0)], ack: [required()],