mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-16 18:31:49 +01:00
Fix bad var usage
This commit is contained in:
parent
beb5ee027a
commit
d74e0cedac
4
resources/js_vue3/stores/twofaccounts.js
vendored
4
resources/js_vue3/stores/twofaccounts.js
vendored
@ -143,13 +143,13 @@ export const useTwofaccounts = defineStore({
|
||||
if(confirm(trans('twofaccounts.confirm.delete')) && this.selectedIds.length > 0) {
|
||||
await twofaccountService.batchDelete(this.selectedIds.join())
|
||||
.then(response => {
|
||||
ids.forEach(function(id) {
|
||||
selectedIds.forEach(function(id) {
|
||||
this.items = this.items.filter(a => a.id !== id)
|
||||
})
|
||||
useNotifyStore().success({ text: trans('twofaccounts.accounts_deleted') })
|
||||
})
|
||||
|
||||
this.refresh()
|
||||
//this.refresh()
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user