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>
(cherry picked from commit 83bd47f3c9)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Jonathan Druart 2025-07-24 12:23:26 +02:00 committed by Paul Derscheid
parent 3396a46c28
commit f3ca238092
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
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,