diff --git a/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.html b/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.html index 7b1447f7ac41..6088a069bc22 100644 --- a/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.html +++ b/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.html @@ -26,19 +26,17 @@

{{ readonly ? portTypeLabel + ' Details' : 'Edit ' + portTy
- @if (request.entity.component.allowRemoteAccess) { - - - Concurrent Tasks - - - - - } + + + Concurrent Tasks + + + +
@if (portTypeLabel === 'Output Port') {
diff --git a/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.ts b/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.ts index 5217621a93f7..178c4370f6c1 100644 --- a/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.ts +++ b/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.ts @@ -95,15 +95,11 @@ export class EditPort extends CloseOnEscapeDialog { component: { id: this.request.entity.id, name: this.editPortForm.get('name')?.value, - comments: this.editPortForm.get('comments')?.value + comments: this.editPortForm.get('comments')?.value, + concurrentlySchedulableTaskCount: this.editPortForm.get('concurrentTasks')?.value } }; - // if this port allows remote access update the concurrent tasks - if (this.request.entity.component.allowRemoteAccess) { - payload.component.concurrentlySchedulableTaskCount = this.editPortForm.get('concurrentTasks')?.value; - } - // if this port is an output port update the port function if (ComponentType.OutputPort == this.request.type) { payload.component.portFunction = this.editPortForm.get('portFunction')?.value ? 'FAILURE' : 'STANDARD';