diff --git a/docs/features/software-catalog/catalog-customization.md b/docs/features/software-catalog/catalog-customization.md index c3355f53b4..98d1af9b3d 100644 --- a/docs/features/software-catalog/catalog-customization.md +++ b/docs/features/software-catalog/catalog-customization.md @@ -76,10 +76,8 @@ Suppose we want to add a new User Email column to the `User` kind in the Catalog const myColumnsFunc: CatalogTableColumnsFunc = entityListContext => { if (entityListContext.filters.kind?.value === 'user') { return [ - // Existing columns (Name, Description, Tags) - CatalogTable.columns.createNameColumn(), - CatalogTable.columns.createMetadataDescriptionColumn(), - CatalogTable.columns.createTagsColumn(), + // Render existing columns + ...CatalogTable.defaultColumnsFunc(entityListContext), // Add new columns here ]; }