Skip to content

Commit

Permalink
Exploreボタンの挙動を改善
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu1125 committed Mar 5, 2023
1 parent 7e71fbc commit 2da7e6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/client/pages/welcome.entrance.a.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="action">
<MkButton @click="signup()" inline primary v-if="meta && !(meta.disableRegistration && meta.disableInvitation)">{{ $ts.signup }}</MkButton>
<MkButton @click="signin()" inline>{{ $ts.login }}</MkButton>
<MkButton inline style="margin-left: 12px;" onclick="window.location.href='/explore'">{{ $ts.explore }}</MkButton>
<MkButton inline style="margin-left: 12px;" @click="explore()">{{ $ts.explore }}</MkButton>
</div>
<div class="status" v-if="onlineUsersCount && stats">
<div>
Expand Down Expand Up @@ -120,6 +120,10 @@ export default defineComponent({
}, {}, 'closed');
},
explore() {
this.$router.push('/explore')
},
showMenu(ev) {
os.modalMenu([{
text: this.$t('aboutX', { x: instanceName }),
Expand Down

0 comments on commit 2da7e6f

Please sign in to comment.