From fecc3c3e29c46dc2cce3c462ef118176050b9a1f Mon Sep 17 00:00:00 2001 From: VilppeRiskidev Date: Wed, 18 Dec 2024 17:35:40 +0200 Subject: [PATCH] Clean up the downloadn state management Vuex store and it's usages - Remove assignId field - Remove downloadObject field - Rename some fields and functions to be more descriptive - assignId is no longer passed unnecessarily when calling vuex store functions --- src/components/views/DownloadModModal.vue | 101 +++++++--------------- src/pages/DownloadMonitor.vue | 12 +-- src/store/modules/DownloadModule.ts | 45 +++++----- 3 files changed, 65 insertions(+), 93 deletions(-) diff --git a/src/components/views/DownloadModModal.vue b/src/components/views/DownloadModModal.vue index 414b17de7..7e01aa53d 100644 --- a/src/components/views/DownloadModModal.vue +++ b/src/components/views/DownloadModModal.vue @@ -1,14 +1,14 @@