mirror of https://github.com/rancher/dashboard.git
Update shell/store/type-map.utils.ts
Co-authored-by: Richard Cox <18697775+richard-cox@users.noreply.github.com>
This commit is contained in:
parent
3471b49832
commit
2a3e9ebc16
|
|
@ -124,7 +124,7 @@ export function createHeaders(
|
|||
*/
|
||||
export function headerFromSchemaColString(colName: string, schema: Schema, rootGetters: VuexStoreGetters, pagination: boolean, ageColumn: TableColumn): TableColumn {
|
||||
if (!schema) {
|
||||
throw new Error(`Schema is null`);
|
||||
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue