diff --git a/packages/admin-ui/src/app/catalog/components/collection-list/collection-list.component.ts b/packages/admin-ui/src/app/catalog/components/collection-list/collection-list.component.ts index c043d788a2..92af097864 100644 --- a/packages/admin-ui/src/app/catalog/components/collection-list/collection-list.component.ts +++ b/packages/admin-ui/src/app/catalog/components/collection-list/collection-list.component.ts @@ -75,7 +75,7 @@ export class CollectionListComponent implements OnInit { ? _('catalog.confirm-delete-collection-and-children-body') : undefined, buttons: [ - { type: 'seconday', label: _('common.cancel') }, + { type: 'secondary', label: _('common.cancel') }, { type: 'danger', label: _('common.delete'), returnValue: true }, ], }); diff --git a/packages/admin-ui/src/app/catalog/components/facet-detail/facet-detail.component.ts b/packages/admin-ui/src/app/catalog/components/facet-detail/facet-detail.component.ts index 73c3ead0e2..6fd33433cd 100644 --- a/packages/admin-ui/src/app/catalog/components/facet-detail/facet-detail.component.ts +++ b/packages/admin-ui/src/app/catalog/components/facet-detail/facet-detail.component.ts @@ -251,7 +251,7 @@ export class FacetDetailComponent extends BaseDetailComponent { export interface DialogButtonConfig { label: string; - type: 'seconday' | 'primary' | 'danger'; + type: 'secondary' | 'primary' | 'danger'; returnValue?: T; }