From 7bd1af589f2e9c44edf5f67b59b06bc720fcfe9b Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Thu, 5 Dec 2024 18:08:09 +0100 Subject: [PATCH] Add priority to policies list view --- frontend/src/lib/utils/table.ts | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/utils/table.ts b/frontend/src/lib/utils/table.ts index 012b8268c..ce68ba165 100644 --- a/frontend/src/lib/utils/table.ts +++ b/frontend/src/lib/utils/table.ts @@ -374,8 +374,28 @@ export const listViewFields: ListViewFieldsConfig = { } }, policies: { - head: ['name', 'description', 'csfFunction', 'eta', 'owner', 'domain', 'referenceControl'], - body: ['name', 'description', 'csf_function', 'eta', 'owner', 'folder', 'reference_control'], + head: [ + 'ref_id', + 'name', + 'priority', + 'status', + 'csfFunction', + 'eta', + 'owner', + 'domain', + 'referenceControl' + ], + body: [ + 'ref_id', + 'name', + 'priority', + 'status', + 'csf_function', + 'eta', + 'owner', + 'folder', + 'reference_control' + ], filters: { folder: DOMAIN_FILTER, status: STATUS_FILTER,