From b35f7fcfc6a0a7e0cbd07b9ad6463dc45eb8c9bb Mon Sep 17 00:00:00 2001 From: Vili Manninen Date: Thu, 12 Dec 2024 23:50:02 +0200 Subject: [PATCH 1/7] Move mod version downloading logic and state management to Vuex state --- src/components/views/DownloadModModal.vue | 99 +++++++++++++++-------- src/pages/DownloadMonitor.vue | 5 +- src/pages/Manager.vue | 2 +- src/store/index.ts | 2 + src/store/modules/DownloadModule.ts | 44 ++++++++++ 5 files changed, 114 insertions(+), 38 deletions(-) create mode 100644 src/store/modules/DownloadModule.ts diff --git a/src/components/views/DownloadModModal.vue b/src/components/views/DownloadModModal.vue index eb998f9b1..373fdc5e4 100644 --- a/src/components/views/DownloadModModal.vue +++ b/src/components/views/DownloadModModal.vue @@ -1,14 +1,14 @@