From 96ef926ddecaa4dcfcfd12600bfe0af1f75395b0 Mon Sep 17 00:00:00 2001 From: dpschen Date: Wed, 8 Sep 2021 21:45:28 +0000 Subject: [PATCH] chore: create progress dots dynamically (#715) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/715 Co-authored-by: dpschen Co-committed-by: dpschen --- src/components/migrator/migration.vue | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/migrator/migration.vue b/src/components/migrator/migration.vue index 35a613f11..fcce0cc88 100644 --- a/src/components/migrator/migration.vue +++ b/src/components/migrator/migration.vue @@ -36,14 +36,7 @@
- - - - - - - - +
Vikunja
@@ -74,15 +67,19 @@ import AbstractMigrationService from '../../services/migrator/abstractMigration' import AbstractMigrationFileService from '../../services/migrator/abstractMigrationFile' +const PROGRESS_DOTS_COUNT = 8 + export default { name: 'migration', data() { return { + progressDotsCount: PROGRESS_DOTS_COUNT, authUrl: '', isMigrating: false, lastMigrationDate: null, message: '', migratorAuthCode: '', + migrationService: null, } }, props: {