From d93066d5f87416abd0e8d2f3b3c2ab76d48e3071 Mon Sep 17 00:00:00 2001 From: Mateusz Szczygiel Date: Tue, 17 Sep 2024 10:58:22 +0200 Subject: [PATCH] CR fix --- hermes-console/src/dummy/topic-form.ts | 2 +- hermes-console/src/i18n/en-US/subscription-form.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hermes-console/src/dummy/topic-form.ts b/hermes-console/src/dummy/topic-form.ts index 379ac947be..809c865ee7 100644 --- a/hermes-console/src/dummy/topic-form.ts +++ b/hermes-console/src/dummy/topic-form.ts @@ -44,7 +44,7 @@ export const dummyTopicFormValidator = { owner: [required()], contentType: [required()], retentionTimeDurationDays: [required(), min(0), max(7)], - retentionTimeDurationHours: [required(), min(0), max(7)], + retentionTimeDurationHours: [required(), min(0), max(24)], maxMessageSize: [required(), min(0)], offlineRetentionTime: [required(), min(0)], ack: [required()], diff --git a/hermes-console/src/i18n/en-US/subscription-form.ts b/hermes-console/src/i18n/en-US/subscription-form.ts index 92f6548fd9..f16420b02b 100644 --- a/hermes-console/src/i18n/en-US/subscription-form.ts +++ b/hermes-console/src/i18n/en-US/subscription-form.ts @@ -125,7 +125,7 @@ const messages = { }, adminForm: { title: 'Warning: Admin form enabled.', - text: 'New fields in the form have been revealed (they are are followed by a warning sign). The form will be submitted regardless of the validation of the fields.', + text: 'New fields in the form have been revealed (they are followed by a warning sign). The form will be submitted regardless of the validation of the fields.', }, }, actions: {