Skip to content

fix(port-forward): update traffic type handling in form reset logic#717

Merged
Tbaile merged 1 commit intomainfrom
issue_1317
Mar 11, 2026
Merged

fix(port-forward): update traffic type handling in form reset logic#717
Tbaile merged 1 commit intomainfrom
issue_1317

Conversation

@m-dilorenzi
Copy link
Collaborator

This pull request makes a minor update to the form reset logic in CreateOrEditPortForwardDrawer.vue. The change ensures that the trafficType state is set accurately based on the selected protocols when the form is reset.

  • When the protocol includes 'all', trafficType.value is set to 'all_traffic'; otherwise, it is set to 'select_protocols'.

Closes: NethServer/nethsecurity#1317

@m-dilorenzi m-dilorenzi requested a review from Tbaile March 10, 2026 16:25
@Tbaile Tbaile merged commit b4ee4d6 into main Mar 11, 2026
5 checks passed
@Tbaile Tbaile deleted the issue_1317 branch March 11, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port forwarding allows invalid protocol selection with "ALL" and still shows port fields

2 participants