From 980d2a022c5678bbb19ca1ad648378eeb6cbf3a0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 20 Dec 2022 14:59:17 +0100 Subject: [PATCH] web/admin: show bound policies order first to match stages Signed-off-by: Jens Langhammer --- web/src/admin/policies/BoundPoliciesList.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/admin/policies/BoundPoliciesList.ts b/web/src/admin/policies/BoundPoliciesList.ts index 8779bc212..68bc12a26 100644 --- a/web/src/admin/policies/BoundPoliciesList.ts +++ b/web/src/admin/policies/BoundPoliciesList.ts @@ -42,9 +42,9 @@ export class BoundPoliciesList extends Table { columns(): TableColumn[] { return [ + new TableColumn(t`Order`, "order"), new TableColumn(t`Policy / User / Group`), new TableColumn(t`Enabled`, "enabled"), - new TableColumn(t`Order`, "order"), new TableColumn(t`Timeout`, "timeout"), new TableColumn(t`Actions`), ]; @@ -137,11 +137,11 @@ export class BoundPoliciesList extends Table { row(item: PolicyBinding): TemplateResult[] { return [ + html`${item.order}`, html`${this.getPolicyUserGroupRow(item)}`, html` ${item.enabled ? t`Yes` : t`No`} `, - html`${item.order}`, html`${item.timeout}`, html` ${this.getObjectEditButton(item)}