support delete extensions
This commit is contained in:
@@ -8,6 +8,7 @@ import type {
|
||||
AssociatedProfileSortKey,
|
||||
AssociatedProfileSummary,
|
||||
BookmarkAssociatedProfileSummary,
|
||||
ExtensionAssociatedProfileSummary,
|
||||
ProfileSortKey,
|
||||
ProfileSummary,
|
||||
} from "../types/browser";
|
||||
@@ -89,7 +90,11 @@ export function sortPasswordSites(items: PasswordSiteSummary[], sortKey: Passwor
|
||||
}
|
||||
|
||||
export function sortAssociatedProfiles(
|
||||
items: (AssociatedProfileSummary | BookmarkAssociatedProfileSummary)[],
|
||||
items: (
|
||||
| AssociatedProfileSummary
|
||||
| BookmarkAssociatedProfileSummary
|
||||
| ExtensionAssociatedProfileSummary
|
||||
)[],
|
||||
sortKey: AssociatedProfileSortKey,
|
||||
) {
|
||||
const profiles = [...items];
|
||||
|
||||
Reference in New Issue
Block a user