mirror of https://github.com/apache/nifi.git
[NIFI-2679] User is now able to disable/enable processors that are invalid or stopped through Operate palette. This closes #973
This commit is contained in:
parent
1213b46632
commit
648ddb6158
|
@ -797,7 +797,8 @@ nf.CanvasUtils = (function () {
|
|||
// ensure its a processor, input port, or output port and supports modification and is stopped (can disable)
|
||||
return ((nf.CanvasUtils.isProcessor(selected) || nf.CanvasUtils.isInputPort(selected) || nf.CanvasUtils.isOutputPort(selected)) &&
|
||||
nf.CanvasUtils.supportsModification(selected) &&
|
||||
selectedData.status.aggregateSnapshot.runStatus === 'Stopped');
|
||||
(selectedData.status.aggregateSnapshot.runStatus === 'Stopped' ||
|
||||
selectedData.status.aggregateSnapshot.runStatus === 'Invalid'));
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue