|
@@ -212,7 +212,11 @@ export default {
|
|
this.showTab("punishments");
|
|
this.showTab("punishments");
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
- this.showTab("verifiedsongs");
|
|
|
|
|
|
+ if (localStorage.getItem("lastAdminPage")) {
|
|
|
|
+ this.showTab(localStorage.getItem("lastAdminPage"));
|
|
|
|
+ } else {
|
|
|
|
+ this.showTab("verifiedsongs");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
showTab(tab) {
|
|
showTab(tab) {
|
|
@@ -222,6 +226,7 @@ export default {
|
|
block: "nearest"
|
|
block: "nearest"
|
|
});
|
|
});
|
|
this.currentTab = tab;
|
|
this.currentTab = tab;
|
|
|
|
+ localStorage.setItem("lastAdminPage", tab);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|