fix(migration): route CSV migrator to dedicated page

The migration list linked all migrators to the 'migrate.service' route
by name, which loads MigrationHandler.vue. For the CSV migrator this
would result in a 400 error since it requires the multi-step
MigrationCSV.vue flow with config. Now CSV migrators link to
'migrate.csv' instead.
This commit is contained in:
kolaente 2026-03-05 11:21:09 +01:00
parent 61fa94e672
commit 46438fc74b
1 changed files with 2 additions and 2 deletions

View File

@ -4,10 +4,10 @@
<p>{{ $t('migrate.description') }}</p>
<div class="migration-services">
<RouterLink
v-for="{name, id, icon} in availableMigrators"
v-for="{name, id, icon, isCSVMigrator} in availableMigrators"
:key="id"
class="migration-service-link"
:to="{name: 'migrate.service', params: {service: id}}"
:to="isCSVMigrator ? {name: 'migrate.csv'} : {name: 'migrate.service', params: {service: id}}"
>
<img
class="migration-service-image"