fix: fix adding multiple presets (#1636)

This commit is contained in:
Stefan Dej authored and GitHub committed 2023-11-14 23:04:40 +01:00
1 parent 3c0b537609
commit 8f96faa9ef
1 file changed
+1 -1
+1 -1
View File
@@ -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],