From 44b20624bd75f92a59560d0ddc9c4a9a054fb1c2 Mon Sep 17 00:00:00 2001 From: user Date: Wed, 13 Nov 2024 14:35:59 +0100 Subject: [PATCH] Fixed translation handling for workers list --- src/components/WorkerSearcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/WorkerSearcher.js b/src/components/WorkerSearcher.js index 3ca45d4..6352705 100644 --- a/src/components/WorkerSearcher.js +++ b/src/components/WorkerSearcher.js @@ -249,7 +249,7 @@ function WorkerSearcher({ showError( formatMessageWithValues('deleteWorker.error', { - detail: parsedMutationError[0]?.detail || EMPTY_STRING, + detail: formatMessage(parsedMutationError[0]?.detail) || EMPTY_STRING, }), ); return;