mirror of https://github.com/rancher/dashboard.git
Lint
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
2a3e9ebc16
commit
68e982012d
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue