fix: can't change profiles B/C

fix: only add profiles starting beta.4
This commit is contained in:
2025-07-11 17:56:42 +02:00
parent 74ce6af318
commit b27182dc35
3 changed files with 7 additions and 4 deletions

View File

@@ -125,9 +125,9 @@
if (!keyInfo) return;
const clickedGroup = groupParent.children.item(index) as SVGGElement;
const nextAction =
get(layout)[get(activeProfile)][get(activeLayer)]?.[keyInfo.id];
get(layout)[get(activeProfile)]![get(activeLayer)]?.[keyInfo.id];
const currentAction =
get(deviceLayout)[get(activeProfile)][get(activeLayer)]?.[keyInfo.id];
get(deviceLayout)[get(activeProfile)]![get(activeLayer)]?.[keyInfo.id];
const component = mount(ActionSelector, {
target: document.body,
props: {
@@ -143,6 +143,7 @@
type: ChangeType.Layout,
id: keyInfo.id,
layer: get(activeLayer),
profile: get(activeProfile),
action,
},
]);