From 9ab7840198b2313719cc85952beb9d0bdfad3e34 Mon Sep 17 00:00:00 2001 From: Travis Jenkins Date: Thu, 16 Jan 2025 14:08:59 -0500 Subject: [PATCH] Need to pass the count into the `itemType` translation and not the outer message --- .../editor/Bindings/Backfill/EvolvedAlert.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/editor/Bindings/Backfill/EvolvedAlert.tsx b/src/components/editor/Bindings/Backfill/EvolvedAlert.tsx index 9dbc7a502..e74659bba 100644 --- a/src/components/editor/Bindings/Backfill/EvolvedAlert.tsx +++ b/src/components/editor/Bindings/Backfill/EvolvedAlert.tsx @@ -12,10 +12,14 @@ function EvolvedAlert() { {intl.formatMessage( { id: 'workflows.collectionSelector.evolvedCollections.alert' }, { - itemType: intl.formatMessage({ - id: ENTITY_SETTINGS[entityType].bindingTermId, - }), - count: 0, + itemType: intl.formatMessage( + { + id: ENTITY_SETTINGS[entityType].bindingTermId, + }, + { + count: 0, + } + ), } )}