Apply suggestions from code review of branch bugfix/close_mitt_signals_

Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
Antonio Anaya 2026-05-11 12:43:34 +00:00
parent 567cff3568
commit 27f09b91bb

View file

@ -217,8 +217,9 @@ export default {
},
methods: {
// This methods replace the previous arrow function calls "() => {}".
// This is needed for closing actual same opening functions.
// These methods are used for opening and closing signals.
// They are used instead of anonymous arrow functions so we can
// call close on the same function called with open.
handleGlobalSwitchTab: function (tabID) {
this.currentTab = tabID;
},