Add labels for columns type (#435)

This commit is contained in:
Louis Delbosc
2023-03-02 15:12:49 +01:00
committed by GitHub
parent 5af2cd4ef7
commit 7a82aa1ac7
2 changed files with 14 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ export function select<T>(obs: Observable<T>, optionArray: MaybeObsArray<IOption
return weasel.select(obs, optionArray, selectOptions, (op) =>
cssOptionRow(
op.icon ? cssOptionRowIcon(op.icon) : null,
cssOptionLabel(op.label),
cssOptionLabel(t(op.label)),
renderOptionArgs ? renderOptionArgs(op) : null,
testId('select-row')
)