mirror of
https://github.com/apache/nifi.git
synced 2025-02-09 03:25:04 +00:00
NIFI-8628 - Variable Registry - Variable count doesn't reset when opening the variable dialog
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #5097.
This commit is contained in:
parent
dfa683af0e
commit
1e1c446243
@ -995,6 +995,8 @@
|
||||
url: '../nifi-api/process-groups/' + encodeURIComponent(processGroupId) + '/variable-registry',
|
||||
dataType: 'json'
|
||||
}).done(function (response) {
|
||||
variablesCount = 0;
|
||||
|
||||
$('#process-group-variable-registry').text(getScopeLabel(processGroupId));
|
||||
$('#variable-registry-process-group-id').text(processGroupId).data('revision', response.processGroupRevision);
|
||||
|
||||
@ -1567,6 +1569,7 @@
|
||||
|
||||
var variableGrid = $('#variable-registry-table').data('gridInstance');
|
||||
var variableData = variableGrid.getData();
|
||||
variableGrid.setSelectedRows([]);
|
||||
variableData.setItems([]);
|
||||
|
||||
var affectedProcessorContainer = $('#variable-registry-affected-processors');
|
||||
|
Loading…
x
Reference in New Issue
Block a user