NIFI-1286: - Removing provenance option from the Label context menu

Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
Matt Gilman 2015-12-18 16:47:27 -05:00 committed by joewitt
parent bef3fc8b40
commit 0436383f49
1 changed files with 2 additions and 1 deletions

View File

@ -256,7 +256,8 @@ nf.ContextMenu = (function () {
return false; return false;
} }
return !nf.CanvasUtils.isConnection(selection) && !nf.CanvasUtils.isProcessGroup(selection) && !nf.CanvasUtils.isRemoteProcessGroup(selection) && nf.Common.canAccessProvenance(); return !nf.CanvasUtils.isLabel(selection) && !nf.CanvasUtils.isConnection(selection) && !nf.CanvasUtils.isProcessGroup(selection)
&& !nf.CanvasUtils.isRemoteProcessGroup(selection) && nf.Common.canAccessProvenance();
}; };
/** /**