From 68e982012d352c21d3e73e17ec8082f97de0a94c Mon Sep 17 00:00:00 2001 From: Francesco Torchia Date: Mon, 24 Feb 2025 12:38:01 +0100 Subject: [PATCH] Lint Signed-off-by: Francesco Torchia --- shell/store/type-map.utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/store/type-map.utils.ts b/shell/store/type-map.utils.ts index 3e4fe507ac..79c3431151 100644 --- a/shell/store/type-map.utils.ts +++ b/shell/store/type-map.utils.ts @@ -124,9 +124,9 @@ export function createHeaders( */ export function headerFromSchemaColString(colName: string, schema: Schema, rootGetters: VuexStoreGetters, pagination: boolean, ageColumn: TableColumn): TableColumn { if (!schema) { - throw new Error(`Unable to create header for column '${colName}' from schema: schema is missing`); + throw new Error(`Unable to create header for column '${ colName }' from schema: schema is missing`); } - + const col = schema.attributes.columns.find((c) => c.name === colName); if (!col) {