mirror of
https://github.com/apache/nifi.git
synced 2025-02-16 15:06:00 +00:00
NIFI-259:
- Only providing the View State menu item for DFMs.
This commit is contained in:
parent
4236125f2b
commit
5b62ff0fc3
@ -242,6 +242,11 @@ nf.ContextMenu = (function () {
|
||||
return false;
|
||||
}
|
||||
|
||||
// ensure the user is DFM
|
||||
if (nf.Common.isDFM() === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (nf.CanvasUtils.isProcessor(selection)) {
|
||||
var processorData = selection.datum();
|
||||
return processorData.component.persistsState === true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user