feat: New confirmation modal when deleting library components (#1906)
* feat: New units message on delete confirm modal when deleting components * test: Tests for new delete confirmation messages * refactor: useComponentsFromSearchIndex added * refactor: Move fetch units to ComponentDeleter * style: Delete unnecessary code
This commit is contained in:
@@ -142,6 +142,7 @@ export interface ContentHit extends BaseContentHit {
|
||||
content?: ContentDetails;
|
||||
lastPublished: number | null;
|
||||
collections: { displayName?: string[], key?: string[] };
|
||||
units: { displayName?: string[], key?: string[] };
|
||||
published?: ContentPublishedData;
|
||||
publishStatus: PublishStatus;
|
||||
formatted: BaseContentHit['formatted'] & { published?: ContentPublishedData, };
|
||||
|
||||
Reference in New Issue
Block a user