style(Recipes): format conditional expression for readability

Improves the readability of the conditional expression in the getColumns function.
This commit is contained in:
Jérémy Munsch 2026-11-05 18:20:23 +01:00
parent 64ca29fefc
commit 680f0d648a
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4
2 changed files with 2 additions and 6 deletions

View file

@ -188,9 +188,7 @@ const getColumns = (
)}
{str(
trans(
row.getValue("is_published")
? "back.published"
: "back.draft",
row.getValue("is_published") ? "back.published" : "back.draft",
),
)
.ucFirst()

View file

@ -222,9 +222,7 @@ const getColumns = (
)}
{str(
trans(
row.getValue("is_published")
? "back.published"
: "back.draft",
row.getValue("is_published") ? "back.published" : "back.draft",
),
)
.ucFirst()