I forgot that (#1239)

This commit is contained in:
Gabriel Davila 2022-07-04 20:56:56 -03:00 committed by GitHub
parent de31ba6393
commit ddfaea3248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 12 deletions

View file

@ -4466,7 +4466,7 @@ const app = new Vue({
case "visual": case "visual":
this.$store.state.pageState.settings.currentTabIndex = 4 this.$store.state.pageState.settings.currentTabIndex = 4
break; break;
case "plugins": case "github-plugins":
this.$store.state.pageState.settings.currentTabIndex = 5 this.$store.state.pageState.settings.currentTabIndex = 5
break; break;
case "lyrics": case "lyrics":
@ -4484,9 +4484,6 @@ const app = new Vue({
case "github-themes": case "github-themes":
this.$store.state.pageState.settings.currentTabIndex = 10 this.$store.state.pageState.settings.currentTabIndex = 10
break; break;
case "github-plugins":
this.$store.state.pageState.settings.currentTabIndex = 11
break;
} }
app.modals.settings = true app.modals.settings = true
}, },

View file

@ -1387,13 +1387,6 @@
</template> </template>
</b-tab> </b-tab>
<!--Github-theme-settings --> <!--Github-theme-settings -->
<!--Github-Plugins -->
<b-tab id="hid">
<template>
<plugins-github/>
</template>
</b-tab>
<!--Github-Plugins -->
<!-- Connect Settings --> <!-- Connect Settings -->
<!-- Not Prod Ready <!-- Not Prod Ready
<b-tab :title="$root.getLz('settings.header.connect')"> <b-tab :title="$root.getLz('settings.header.connect')">
@ -1507,7 +1500,7 @@
methods: { methods: {
sidebarVis() { sidebarVis() {
const tabIndex = app.$store.state.pageState['settings'].currentTabIndex const tabIndex = app.$store.state.pageState['settings'].currentTabIndex
if(tabIndex == 3 || tabIndex == 5 || tabIndex == 10 || tabIndex == 11) { if(tabIndex == 3 || tabIndex == 5 || tabIndex == 10) {
return true; return true;
} }
return false return false