Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Dec 3, 2023
1 parent 8bb14df commit 5c86f38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/src/Vis/Widgets/Basic/BasicBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export default class BasicBar extends VisRxWidget<RxData> {
},
],
}],
// visWidgetLabel: 'value_string', // Label of widget
visDefaultStyle: {
width: 200,
height: 130,
Expand Down
3 changes: 1 addition & 2 deletions src/src/Vis/visRxWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class VisRxWidget<TRxData extends Record<string, any>, TState extends Record<str

private readonly visDynamicResizable: any;

private newState?: Partial<VisRxWidgetState & TState & { rxData: TRxData }> | null;
private newState?: Partial<VisRxWidgetState & { rxData: TRxData }> | null;

// TODO just needed until visVaseWidget is tsx
state: VisRxWidgetState & TState &{ rxData: TRxData };
Expand Down Expand Up @@ -310,7 +310,6 @@ class VisRxWidget<TRxData extends Record<string, any>, TState extends Record<str
if (this.newState.rxData['visibility-groups-action'] === 'disabled') {
this.newState.disabled = true;
} else {
// newState.rxData['visibility-groups-action'] === 'hide'
this.newState.visible = false;
}
}
Expand Down

0 comments on commit 5c86f38

Please sign in to comment.