FIX: Correctly update knob mapping type

This commit is contained in:
Robert Kossessa
2024-05-27 15:50:29 +02:00
parent b9770e1924
commit c8509a8e7f
2 changed files with 1 additions and 1 deletions

View File

@@ -40,6 +40,7 @@
() => {
inputValue = key
open = false
deviceStore.updateKnobValueParameter(valueIndex - 1, { type: key })
}
"
>

View File

@@ -527,7 +527,6 @@ export const useDeviceStore = defineStore('device', {
},
updateKnobValueParameter(index: number, updates: object, updateDevice: boolean = true) {
Object.assign(this.currentProfile!.knob[index], updates)
console.log(updates)
if (updateDevice) {
sendDebounced(
this.currentDeviceId!,