Fix linting errors
Signed-off-by: Stephen A. Wilson <code@stephenawilson.ca>
This commit is contained in:
@@ -58,7 +58,7 @@ const defaultColumns: TableColumn<DocsTableRow>[] = [
|
||||
columnFactories.createKindColumn(),
|
||||
columnFactories.createTypeColumn(),
|
||||
];
|
||||
|
||||
|
||||
/**
|
||||
* Component which renders a table documents
|
||||
*
|
||||
|
||||
@@ -31,12 +31,12 @@ function customTitle(entity: Entity): string {
|
||||
*/
|
||||
export const columnFactories = {
|
||||
createTitleColumn(options?: { hidden?: boolean }): TableColumn<DocsTableRow> {
|
||||
const nameCol = columnFactories.createNameColumn()
|
||||
const nameCol = columnFactories.createNameColumn();
|
||||
return {
|
||||
...nameCol,
|
||||
field: 'entity.metadata.title',
|
||||
hidden: options?.hidden,
|
||||
}
|
||||
};
|
||||
},
|
||||
createNameColumn(): TableColumn<DocsTableRow> {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user