From 94b4bdfa10731ef9d05b0af3e474d8d8e3e50833 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 10 Feb 2025 23:23:40 +0100 Subject: [PATCH] Reduce snackbar description length --- .../core/components/snackbar/SnackbarWithDescription.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/core/components/snackbar/SnackbarWithDescription.tsx b/src/modules/core/components/snackbar/SnackbarWithDescription.tsx index 10e7fb85..ebf0c875 100644 --- a/src/modules/core/components/snackbar/SnackbarWithDescription.tsx +++ b/src/modules/core/components/snackbar/SnackbarWithDescription.tsx @@ -16,7 +16,7 @@ import { awaitConfirmation } from '@/modules/core/utils/AwaitableDialog.tsx'; import { TranslationKey } from '@/Base.types.ts'; import { defaultPromiseErrorHandler } from '@/lib/DefaultPromiseErrorHandler.ts'; -const MAX_DESCRIPTION_LENGTH = 255; +const MAX_DESCRIPTION_LENGTH = 75; const SNACKBAR_VARIANT_TO_TRANSLATION_KEY: Record = { default: 'global.label.info',