mirror of https://github.com/apache/nifi.git
NIFI-11247: Using parameterContextName instead of group name when fetching parameters (#7011)
Merged #7011. Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This commit is contained in:
parent
81aa752265
commit
a6687ae71a
|
@ -910,9 +910,11 @@
|
|||
if (!_.isEmpty(parameterProviderGroupEntity.component.parameterStatus)) {
|
||||
$.each(parameterProviderGroupEntity.component.parameterStatus, function (i, status) {
|
||||
if (status.status !== 'UNCHANGED') {
|
||||
var group = groupsData.getItems().find(function (group) { return group.name === status.parameter.parameter.parameterContext.component.name });
|
||||
var group = groupsData.getItems().find(function (group) { return group.parameterContextName === status.parameter.parameter.parameterContext.component.name });
|
||||
|
||||
loadSelectableParameters(group.parameterSensitivities, group, true);
|
||||
if (nfCommon.isDefinedAndNotNull(group)) {
|
||||
loadSelectableParameters(group.parameterSensitivities, group, true);
|
||||
}
|
||||
$('#fetch-parameters-dialog').modal('refreshButtons');
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue