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:
parent
567cff3568
commit
27f09b91bb
1 changed files with 3 additions and 2 deletions
|
|
@ -217,8 +217,9 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
// This methods replace the previous arrow function calls "() => {}".
|
// These methods are used for opening and closing signals.
|
||||||
// This is needed for closing actual same opening functions.
|
// They are used instead of anonymous arrow functions so we can
|
||||||
|
// call close on the same function called with open.
|
||||||
handleGlobalSwitchTab: function (tabID) {
|
handleGlobalSwitchTab: function (tabID) {
|
||||||
this.currentTab = tabID;
|
this.currentTab = tabID;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue