Renamed the function

This commit is contained in:
Hirame1 2024-04-22 21:10:20 +07:00
parent 9fc6ecf312
commit 42cc875989

View File

@ -24,7 +24,7 @@ export default {
this.isEnslaved = Enslaved.isRunning; this.isEnslaved = Enslaved.isRunning;
this.isAlmostEnd = Pelle.hasGalaxyGenerator; this.isAlmostEnd = Pelle.hasGalaxyGenerator;
}, },
resetAllTabs() { showAllTabs() {
for (const tab of this.tabs) { for (const tab of this.tabs) {
tab.unhideTab(); tab.unhideTab();
for (const subtab of tab.subtabs) for (const subtab of tab.subtabs)
@ -58,9 +58,9 @@ export default {
(You cannot hide your tabs within this Reality) (You cannot hide your tabs within this Reality)
</div> </div>
<PrimaryButton <PrimaryButton
@click="resetAllTabs" @click="showAllTabs"
> >
Reset all tabs Show all tabs
</PrimaryButton> </PrimaryButton>
<HiddenTabGroup <HiddenTabGroup
v-for="(tab, index) in tabs" v-for="(tab, index) in tabs"