From e739b57187df76cbc0192f99e69d1894f73be830 Mon Sep 17 00:00:00 2001 From: Alex Yong Date: Thu, 28 Mar 2024 17:17:18 -0400 Subject: [PATCH] Update mutations.js --- frontend/src/store/mutations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/store/mutations.js b/frontend/src/store/mutations.js index f01deaef..0b946cdd 100644 --- a/frontend/src/store/mutations.js +++ b/frontend/src/store/mutations.js @@ -105,7 +105,7 @@ const mutations = { state.upload.eta = value; }, setUploadPercentage(state, value) { - state.upload.percentage = value; + state.upload.uploadPercentage = value; }, resetUpload(state) { state.upload.uploads = {}; @@ -115,7 +115,7 @@ const mutations = { state.upload.id = 0; state.upload.speedMbyte = 0; state.upload.eta = 0; - state.upload.percentage = 0; + state.upload.uploadPercentage = 0; }, };