fix: mark document auth types for translation (#2331)

This commit is contained in:
Konrad
2026-01-11 23:28:16 +01:00
committed by GitHub
parent 6b041c23b4
commit a995961c4e
4 changed files with 12 additions and 9 deletions
@@ -35,7 +35,7 @@ export const DocumentGlobalAuthAccessSelect = ({
},
...Object.values(DocumentAccessAuth).map((authType) => ({
value: authType,
label: DOCUMENT_AUTH_TYPES[authType].value,
label: _(DOCUMENT_AUTH_TYPES[authType].value),
})),
];
@@ -35,7 +35,7 @@ export const DocumentGlobalAuthActionSelect = ({
.filter((auth) => auth !== DocumentAuth.ACCOUNT)
.map((authType) => ({
value: authType,
label: DOCUMENT_AUTH_TYPES[authType].value,
label: _(DOCUMENT_AUTH_TYPES[authType].value),
})),
];