web: fix TableColumn sort fields being translated
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -44,10 +44,10 @@ export class ObjectChangelog extends Table<Event> { | ||||
|  | ||||
|     columns(): TableColumn[] { | ||||
|         return [ | ||||
|             new TableColumn(t`Action`, t`action`), | ||||
|             new TableColumn(t`User`, t`enabled`), | ||||
|             new TableColumn(t`Creation Date`, t`created`), | ||||
|             new TableColumn(t`Client IP`, t`client_ip`), | ||||
|             new TableColumn(t`Action`, "action"), | ||||
|             new TableColumn(t`User`, "enabled"), | ||||
|             new TableColumn(t`Creation Date`, "created"), | ||||
|             new TableColumn(t`Client IP`, "client_ip"), | ||||
|         ]; | ||||
|     } | ||||
|  | ||||
|  | ||||
| @ -26,9 +26,9 @@ export class UserOAuthCodeList extends Table<ExpiringBaseGrantModel> { | ||||
|  | ||||
|     columns(): TableColumn[] { | ||||
|         return [ | ||||
|             new TableColumn(t`Provider`, t`provider`), | ||||
|             new TableColumn(t`Expires`, t`expires`), | ||||
|             new TableColumn(t`Scopes`, t`scope`), | ||||
|             new TableColumn(t`Provider`, "provider"), | ||||
|             new TableColumn(t`Expires`, "expires"), | ||||
|             new TableColumn(t`Scopes`, "scope"), | ||||
|             new TableColumn(""), | ||||
|         ]; | ||||
|     } | ||||
|  | ||||
| @ -26,9 +26,9 @@ export class UserOAuthRefreshList extends Table<ExpiringBaseGrantModel> { | ||||
|  | ||||
|     columns(): TableColumn[] { | ||||
|         return [ | ||||
|             new TableColumn(t`Provider`, t`provider`), | ||||
|             new TableColumn(t`Expires`, t`expires`), | ||||
|             new TableColumn(t`Scopes`, t`scope`), | ||||
|             new TableColumn(t`Provider`, "provider"), | ||||
|             new TableColumn(t`Expires`, "expires"), | ||||
|             new TableColumn(t`Scopes`, "scope"), | ||||
|             new TableColumn(""), | ||||
|         ]; | ||||
|     } | ||||
|  | ||||
| @ -26,8 +26,8 @@ export class UserConsentList extends Table<UserConsent> { | ||||
|  | ||||
|     columns(): TableColumn[] { | ||||
|         return [ | ||||
|             new TableColumn(t`Application`, t`application`), | ||||
|             new TableColumn(t`Expires`, t`expires`), | ||||
|             new TableColumn(t`Application`, "application"), | ||||
|             new TableColumn(t`Expires`, "expires"), | ||||
|             new TableColumn(""), | ||||
|         ]; | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer