fix editing
This commit is contained in:
@@ -165,9 +165,8 @@ export function useEditStarterPackMutation({
|
|||||||
|
|
||||||
const removedItems = currentListItems.filter(
|
const removedItems = currentListItems.filter(
|
||||||
i =>
|
i =>
|
||||||
!profiles.find(
|
i.subject.did !== agent.session?.did &&
|
||||||
p => p.did === i.subject.did && p.did !== agent.session!.did,
|
!profiles.find(p => p.did === i.subject.did && p.did),
|
||||||
),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if (removedItems.length !== 0) {
|
if (removedItems.length !== 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user