Skip to content

Commit 25ac6c1

Browse files
committed
fixed nextTab
1 parent bcb37e5 commit 25ac6c1

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

src/components/right-sidebar/GetStarted.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
</q-tab-panel>
2020

2121
<q-tab-panel name="basics">
22-
<BasicFunctions @nextTab="tutorialPage = 'advanced'" />
22+
<BasicFunctions @nextTab="tutorialPage = 'version'" />
2323
</q-tab-panel>
2424

2525
<q-tab-panel name="version">
26-
<NewVersionInfo @nextTab="tutorialPage = 'version'" />
26+
<NewVersionInfo @nextTab="tutorialPage = 'advanced'" />
2727
</q-tab-panel>
2828

2929
<q-tab-panel name="advanced">

src/components/right-sidebar/tutorial/BasicFunctions.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,23 +73,19 @@
7373
Component menu or press the delete key.
7474
</p>
7575
<img alt="Delete Component button" src="../../../assets/delete-component.png" class="tut-screenshot">
76-
<q-btn class="tut-btn" color="secondary" id="advanced-btn" label="Advanced Functionality" @click="nextTab" />
77-
<q-btn class="tut-btn" color="secondary" id="version-btn" label="Explore Features" @click="nextTab" />
76+
<q-btn class="tut-btn" color="secondary" id="version-btn" label="New Features" @click="nextTab" />
7877
</section>
7978
</template>
8079

8180
<script>
8281
import { mapActions } from 'vuex';
8382
8483
export default {
85-
emits: ['nextTab', 'versionTab'],
84+
emits: ['nextTab'],
8685
methods: {
8786
...mapActions(["toggleTutorial"]),
8887
nextTab() {
8988
this.$emit('nextTab')
90-
},
91-
versionTab() {
92-
this.$emit('versionTab')
9389
}
9490
}
9591
}

src/components/right-sidebar/tutorial/Landing.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<section id="welcomeTab">
44
<h6 class="tutorialHeading">Welcome to</h6>
55
<img alt="OverVue" src="../../../assets/overvue_layeredlogo.png" id="logo">
6-
<q-btn class="tut-btn" color="secondary" label="What's New in 7.0" @click="newTab" />
76
<q-btn class="tut-btn" color="secondary" label="View the Readme"
87
@click="openUrl('https://github.com/open-source-labs/OverVue#readme')" />
98
<p id="new-text">New to OverVue?</p>
@@ -23,9 +22,6 @@ export default {
2322
nextTab() {
2423
this.$emit('nextTab')
2524
},
26-
versionTab() {
27-
this.$emit('versionTab')
28-
},
2925
openUrl(url) {
3026
shell.openExternal(url, { activate: true });
3127
}

src/components/right-sidebar/tutorial/NewVersionInfo.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
<p class="info-sub-heading">Ability to Nest Components</p>
2121
<p class="infoContent"></p>
22-
22+
<q-btn class="tut-btn" color="secondary" id="advanced-btn" label="Advanced Functionality" @click="nextTab" />
23+
<q-btn></q-btn>
2324
</section>
2425
</template>
2526

0 commit comments

Comments
 (0)