Bug 40198: Fix translatability issue for Active and Inactive

Signed-off-by: Michaela <michaela.sieber@kit.edu>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2025-07-24 12:23:26 +02:00 committed by Lucas Gass
parent bd52dab411
commit 83bd47f3c9
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 3 additions and 1 deletions

View File

@ -329,7 +329,9 @@ export default {
title: __("Status"),
data: "active",
render: function (data, type, row, meta) {
const status = row.active ? "Active" : "Inactive";
const status = row.active
? __("Active")
: __("Inactive");
return status;
},
searchable: false,