From 950cb118cca13dfc1f14127356d512fc9433af86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sat, 19 Nov 2022 16:57:00 +0100 Subject: [PATCH] remove unused property. --- client/src/components/files.vue | 4 +--- client/src/neko/types.ts | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/client/src/components/files.vue b/client/src/components/files.vue index 972c069..359eda8 100644 --- a/client/src/components/files.vue +++ b/client/src/components/files.vue @@ -285,11 +285,10 @@ size: item.size, progress: 0, status: 'pending', - axios: null, abortController: abortController, } - transfer.axios = this.$http + this.$http .get(url, { responseType: 'blob', signal: abortController.signal, @@ -342,7 +341,6 @@ size: file.size, progress: 0, status: 'pending', - axios: null, abortController: abortController, } diff --git a/client/src/neko/types.ts b/client/src/neko/types.ts index 14123f4..ab6a813 100644 --- a/client/src/neko/types.ts +++ b/client/src/neko/types.ts @@ -36,6 +36,5 @@ export interface FileTransfer { size: number progress: number status: 'pending' | 'inprogress' | 'completed' - axios: Promise | null abortController: AbortController | null }