Skip to content

Commit

Permalink
support null range for set names
Browse files Browse the repository at this point in the history
  • Loading branch information
x37v committed Feb 12, 2024
1 parent 969e5b5 commit ab3e78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/oscqueryBridgeController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class OSCQueryBridgeControllerPrivate {

private async _onAttributesChanged(data: any): Promise<void> {
// console.log("ATTRIBUTES_CHANGED", data);
if (data.FULL_PATH === "/rnbo/inst/control/sets/load" && data.RANGE) {
if (data.FULL_PATH === "/rnbo/inst/control/sets/load" && data.RANGE !== undefined) {
const sets: Array<string> = data.RANGE?.[0]?.VALS || [];
dispatch(initSets(sets));
}
Expand Down

0 comments on commit ab3e78d

Please sign in to comment.