* Teams

* Fix errors on versions with no files
This commit is contained in:
Geometrically
2020-12-28 10:50:59 -07:00
committed by GitHub
parent 0b160a6741
commit 12840f2428
14 changed files with 787 additions and 82 deletions

View File

@@ -42,8 +42,8 @@
>
</p>
<button @click="logout">Continue</button>
</section></DashboardPage
>
</section>
</DashboardPage>
</template>
<script>
@@ -54,8 +54,8 @@ export default {
},
methods: {
async logout() {
await this.$auth. setToken('local', false)
await this.$router.go(
await this.$auth.setToken('local', false)
await this.$router.replace(
'https://api.modrinth.com/api/v1/auth/init?url=https://modrinth.com/'
)
},