Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix keyboard nav reactivity broken after delete items in admin settings #10417

Merged
merged 7 commits into from
Mar 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update groupSettings.ts
Co-authored-by: Benedikt Kulmann <[email protected]>
  • Loading branch information
AlexAndBear and kulmann committed Mar 7, 2024
commit 39084f6e9bc63d35683865167f1c0b2149c7f530
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ export const useGroupSettingsStore = defineStore('groupSettings', () => {
}

const upsertGroup = (group: Group) => {
const existing = unref(groups).find(({ id }) => id === group.id)
const existing = unref(groups).some(({ id }) => id === group.id)
if (existing) {
Object.assign(existing, { ...group, members: [] })
return