Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed this.$set() #603

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Removed the use of this.() since it was deprecated
  • Loading branch information
HeriLFIU committed Jan 9, 2025
commit cbba350651c98280a85cc00cc865595c01466c22
2 changes: 1 addition & 1 deletion ui/k-info-panel/list_connections.kytos
Original file line number Diff line number Diff line change
@@ -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