Skip to content

Commit

Permalink
fixed off by one navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunlumbcgov committed Oct 31, 2024
1 parent a342dec commit 7c0c986
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
1 change: 0 additions & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<!-- You can display more user info here or switch roles -->
<p>Username: {{ userInfoGet.userName }}</p>
<p>Current Role: {{ roles }}</p>
<v-btn @click="switchRole">Switch Role</v-btn>
</v-card-text>

<v-card-actions>
Expand Down
16 changes: 10 additions & 6 deletions frontend/src/views/Programs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
>
</template>
<v-list>
<v-list-item to="/programs/programs">Programs</v-list-item>
<v-list-item to="/programs/program-rules"
<v-list-item @click="tab = 1" to="/programs/programs"
>Programs</v-list-item
>
<v-list-item @click="tab = 1" to="/programs/program-rules"
>Program Rules</v-list-item
>
<v-list-item to="/programs/transcript-message"
<v-list-item @click="tab = 1" to="/programs/transcript-message"
>Transcript Messaging</v-list-item
>
</v-list>
Expand All @@ -44,10 +46,12 @@
>
</template>
<v-list>
<v-list-item to="/programs/optional-programs"
<v-list-item @click="tab = 2" to="/programs/optional-programs"
>Optional Programs</v-list-item
>
<v-list-item to="/programs/optional-program-rules"
<v-list-item
@click="tab = 2"
to="/programs/optional-program-rules"
>Optional Program Rules</v-list-item
>
</v-list>
Expand Down Expand Up @@ -75,7 +79,7 @@ export default {
name: "graduationPrograms",
data() {
return {
tab: 1,
tab: 0,
};
},
methods: {},
Expand Down

0 comments on commit 7c0c986

Please sign in to comment.