There is a problem with the manual widget control, which is always disabled.
The reason is in the routine canClick() in the file .../Spindle/index.jsx.
canClick() {
const { port, workflow } = this.state;
if (!port) {
return false;
}
if (workflow.state === WORKFLOW_STATE_RUNNING) {
return false;
}
this.workspace.activeState.updateControllerState(this.state.controller.state);
return this.workspace.activeState.canReceiveCommand;
}
This routine returns the property "canReceiveCommand" which is not existing in the "ActiveState"-Object.
So this routine returns "null" which is not the "true" needed to enable the spindle widget.
Replacing the line with "return this.workspace.activeState.isReady;" is enabling the widget but I am not sure, whether "isReady" is the correct property to use here.
BR
Gerhard
There is a problem with the manual widget control, which is always disabled.
The reason is in the routine canClick() in the file .../Spindle/index.jsx.
This routine returns the property "canReceiveCommand" which is not existing in the "ActiveState"-Object.
So this routine returns "null" which is not the "true" needed to enable the spindle widget.
Replacing the line with "return this.workspace.activeState.isReady;" is enabling the widget but I am not sure, whether "isReady" is the correct property to use here.
BR
Gerhard