Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia 2025-02-24 12:38:01 +01:00
parent 2a3e9ebc16
commit 68e982012d
No known key found for this signature in database
GPG Key ID: E6D011B7415D4393
1 changed files with 2 additions and 2 deletions

View File

@ -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(`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);