methods: {
setDisplay: function(type, e) {
this.display = type;
localStorage.setItem("type-myGames", type);
let elt = e ? e.target : document.getElementById(type + "Games");
elt.classList.add("active");
methods: {
setDisplay: function(type, e) {
this.display = type;
localStorage.setItem("type-myGames", type);
let elt = e ? e.target : document.getElementById(type + "Games");
elt.classList.add("active");