Update nf-processor-details.js

NIFI-7032:
- Processor Details no longer appears when clicking 'View Processor Details'
- handling the review comments

This closes #3990
This commit is contained in:
nagasivanath 2020-01-16 21:10:19 +05:30 committed by Matt Gilman
parent ed324058c7
commit 24ef8ba4cb
No known key found for this signature in database
GPG Key ID: DF61EC19432AEE37
1 changed files with 12 additions and 8 deletions

View File

@ -174,14 +174,18 @@
}
// initialize the properties
$('#read-only-processor-properties').propertytable({
supportsGoTo: config.supportsGoTo,
readOnly: true,
getParameterContext: function (groupId) {
// processors being configured must be in the current group
return nfCanvasUtils.getParameterContext();
}
});
$('#read-only-processor-properties').propertytable(Object.assign({
supportsGoTo: config.supportsGoTo,
readOnly: true
},
//incase of summary window, nfCanvasUtils module wont be loaded
nfCanvasUtils && {
getParameterContext: function (groupId) {
// processors being configured must be in the current group
return nfCanvasUtils.getParameterContext();
}
}));
},
/**