Skip to content

Commit

Permalink
Merge pull request #603 from HeriLFIU/UI/removeSet
Browse files Browse the repository at this point in the history
Removed this.$set()
  • Loading branch information
HeriLFIU authored Jan 10, 2025
2 parents 112063f + 2db128c commit 38a8d50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Fixed

Changed
=======
- UI: Removed the use of this.$set() since it was deprecated
- UI: changed variable name which was the reserved keyword interface to k_interface
- UI: changed the interface variable for k_interface since it was a reserved keyword
- UI: the mef_eline modal now uses the modal component
Expand Down
2 changes: 1 addition & 1 deletion ui/k-info-panel/list_connections.kytos
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = {
*/
if(newSort === this.currentSort) {
let sortDir = (this.currentSortDir[newSort] === 'asc') ? 'desc' : 'asc'
this.$set(this.currentSortDir, newSort, sortDir);
this.currentSortDir[newSort] = sortDir;
/**
* It is necessary to use a different syntax to replace arrays values
* by index because Vue cannot detect when directly set an item with
Expand Down

0 comments on commit 38a8d50

Please sign in to comment.