web: fix TableColumn sort fields being translated

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-04-04 16:56:16 +02:00
parent 469b6b64bc
commit c1d93bfd7c
27 changed files with 72 additions and 394 deletions

View File

@ -45,9 +45,9 @@ export class UserListPage extends TablePage<User> {
columns(): TableColumn[] {
return [
new TableColumn(t`Name`, t`username`),
new TableColumn(t`Active`, t`active`),
new TableColumn(t`Last login`, t`last_login`),
new TableColumn(t`Name`, "username"),
new TableColumn(t`Active`, "active"),
new TableColumn(t`Last login`, "last_login"),
new TableColumn(""),
];
}