Skip to content

Commit

Permalink
Merge pull request #532 from kytos-ng/hotfix/issue_529
Browse files Browse the repository at this point in the history
backport/hotfix for issue #529 into 2024.1 -- fixed default collapsed path constraint options on EVC creation
  • Loading branch information
italovalcy authored Oct 8, 2024
2 parents 0f66fac + cf274dc commit 09598d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ All notable changes to the MEF_ELine NApp will be documented in this file.
Changed
=======
- UI: fixed premature submit when pressing Enter during autocomplete on inputs.
- UI: fixed path constraints fields to be collabsed by default when creating EVC to better usability for listing EVCs

[2024.1.4] - 2024-09-09
***********************
Expand Down
7 changes: 1 addition & 6 deletions ui/k-toolbar/main.kytos
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</k-accordion-item>

<span v-for="constraint in ['primary_constraints', 'secondary_constraints']">
<k-accordion-item :title="constraint_titles[constraint]" ref="accordion_checked">
<k-accordion-item :title="constraint_titles[constraint]" :checked=false>

<k-select :title="constraint_titles.undesired_links" :options="get_link_options()"
v-model:value ="form_constraints[constraint].undesired_links"
Expand Down Expand Up @@ -611,11 +611,6 @@ module.exports = {
this.fetch_dpids();
this.load_topology();
this.init_path_constraints();

// Close constraint accordion-item
this.$refs.accordion_checked.forEach((item) => {
item.checked = false;
});
},
}
</script>
Expand Down

0 comments on commit 09598d8

Please sign in to comment.