This is an automated email from the ASF dual-hosted git repository.
rfellows 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 246e5f849f NIFI-14471 clear branch value when switching between
registry clients… (#10383)
246e5f849f is described below
commit 246e5f849f237198bcc6e778be4ed73d74400955
Author: markobean <[email protected]>
AuthorDate: Mon Oct 6 08:29:30 2025 -0400
NIFI-14471 clear branch value when switching between registry clients…
(#10383)
* NIFI-14471 clear branch value when switching between registry clients in
the import from registry form
* NIFI-14471 optimize by removing redundant method call
This closes #10383
---
.../items/flow/import-from-registry/import-from-registry.component.ts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.ts
b/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.ts
index bd8ec57120..cd86ecb5f5 100644
---
a/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.ts
+++
b/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.ts
@@ -195,11 +195,10 @@ export class ImportFromRegistry extends
CloseOnEscapeDialog implements OnInit {
registryChanged(registryId: string): void {
this.supportsBranching =
this.clientBranchingSupportMap.get(registryId) || false;
+ this.clearBranches();
if (this.supportsBranching) {
- this.clearBranches();
this.loadBranches(registryId);
} else {
- this.clearBuckets();
this.loadBuckets(registryId);
}
}