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) {