fix: fix adding multiple presets (#1636)
This commit is contained in:
1 parent
3c0b537609
commit
8f96faa9ef
1 file changed
+1
-1
@@ -31,7 +31,7 @@ export const actions: ActionTree<GuiPresetsState, RootState> = {
|
||||
store({ commit, dispatch, state }, payload) {
|
||||
const id = uuidv4()
|
||||
|
||||
commit('store', { id, values: payload.values })
|
||||
commit('store', { id, values: { ...payload.values } })
|
||||
dispatch('upload', {
|
||||
id,
|
||||
value: state.presets[id],
|
||||
|
||||
Reference in new issue
Block a user