This is an automated email from the ASF dual-hosted git repository.
turcsanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new e175b146cd NIFI-9978: - Updating the condition under which we show the
Download Flow menu items.
e175b146cd is described below
commit e175b146cdc6a7fc49f12cad492f6dadf5010624
Author: Matt Gilman <[email protected]>
AuthorDate: Fri Apr 29 16:19:07 2022 -0400
NIFI-9978:
- Updating the condition under which we show the Download Flow menu items.
This closes #6008.
Signed-off-by: Peter Turcsanyi <[email protected]>
---
.../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
index bd0460ecb0..6673fbc062 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
@@ -862,8 +862,8 @@
{id: 'group-menu-item', condition: canGroup, menuItem: {clazz: 'icon
icon-group', text: 'Group', action: 'group'}},
{separator: true},
{id: 'download-menu-item', groupMenuItem: {clazz: 'fa', text:
'Download flow definition'}, menuItems: [
- {id: 'download-menu-item-without', condition: hasUpstream,
menuItem: {clazz: 'fa', text: 'Without external services', action:
'downloadFlowWithoutExternalServices'}},
- {id: 'download-menu-item-with', condition: hasDownstream,
menuItem: {clazz: 'fa', text: 'With external services', action:
'downloadFlowWithExternalServices'}}
+ {id: 'download-menu-item-without', condition:
supportsDownloadFlow, menuItem: {clazz: 'fa', text: 'Without external
services', action: 'downloadFlowWithoutExternalServices'}},
+ {id: 'download-menu-item-with', condition: supportsDownloadFlow,
menuItem: {clazz: 'fa', text: 'With external services', action:
'downloadFlowWithExternalServices'}}
]},
{separator: true},
{id: 'upload-template-menu-item', condition: canUploadTemplate,
menuItem: {clazz: 'icon icon-template-import', text: 'Upload template', action:
'uploadTemplate'}},