mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-02-19 15:42:05 +00:00
fix: can't change profiles B/C
fix: only add profiles starting beta.4
This commit is contained in:
@@ -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,
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user