Skip to content

Commit

Permalink
fix: Reactivity of the instance mod
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Oct 28, 2022
1 parent 81157bf commit 9adf29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmcl-keystone-ui/src/windows/main/services.ts
Expand Up @@ -97,7 +97,7 @@ class ReactiveInstanceModState extends InstanceModsState {
if (existed !== -1) {
set(this.mods, existed, res)
} else {
this.mods.push(res)
this.mods = [...this.mods, res]
}
}
}
Expand Down

0 comments on commit 9adf29a

Please sign in to comment.