Almost completely rewrite UiItems
This commit is contained in:
parent
9cc827d5a6
commit
6c7ea9dfb3
8 changed files with 245 additions and 21 deletions
|
|
@ -87,6 +87,9 @@ class App extends React.Component<AppProps & Classes, AppState> {
|
|||
}
|
||||
|
||||
changeState(topic: string, value: any) {
|
||||
// this.receiveMessage(this.props.config.topics[topic].state, String(this.props.config.topics[topic].values[value] || value));
|
||||
// return;
|
||||
//
|
||||
const rawTopic = this.props.config.topics[topic].command;
|
||||
if (rawTopic == null) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue