cleanup
This commit is contained in:
parent
946682b3b4
commit
fdc0f39187
4 changed files with 4 additions and 19 deletions
|
|
@ -430,11 +430,9 @@ export const useAdminSettingsStore = defineStore('adminSettings', {
|
|||
})
|
||||
|
||||
resultUserIds.data.forEach((userId) => {
|
||||
window.vuex.dispatch(
|
||||
'markStatusesAsDeleted',
|
||||
(status) => userId === status.user.id,
|
||||
)
|
||||
// TODO when migrated to pinia, also remove user
|
||||
useStatusesStore().wipeUserStatuses(status.user.id)
|
||||
// Users are technically never deleted, just deactivated
|
||||
// so there's no real need to delete them from store.
|
||||
})
|
||||
|
||||
return resultUserIds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue