1
0

Rename routes to follow the same pattern

This commit is contained in:
kolaente
2020-06-17 22:24:37 +02:00
parent fc4b9d439b
commit 82ac226fc1
15 changed files with 89 additions and 89 deletions

View File

@ -3,7 +3,7 @@
<h1>Import your data from other services to Vikunja</h1>
<p>Click on the logo of one of the third-party services below to get started.</p>
<div class="migration-services-overview">
<router-link :to="{name: 'migrate', params: {service: m}}" v-for="m in availableMigrators" :key="m">
<router-link :to="{name: 'migrate.service', params: {service: m}}" v-for="m in availableMigrators" :key="m">
<img :src="`/images/migration/${m}.png`" :alt="m"/>
{{ m }}
</router-link>
@ -13,7 +13,7 @@
<script>
export default {
name: 'migrate',
name: 'migrate.service',
computed: {
availableMigrators() {
return this.$store.state.config.availableMigrators