Skip to content

Commit b40d008

Browse files
marcokreeft87bastienwirtz
authored andcommitted
Removed upload
1 parent f4c026f commit b40d008

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/components/services/SABnzbd.vue

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
<p class="fas fa-download"></p>
3030
{{ downRate }}
3131
</span>
32-
<span class="up monospace">
33-
<p class="fas fa-upload"></p>
34-
{{ upRate }}
35-
</span>
3632
</template>
3733
</p>
3834
</template>
@@ -82,9 +78,6 @@ export default {
8278
downRate() {
8379
return displayRate(this.dlSpeed);
8480
},
85-
upRate() {
86-
return displayRate(this.ulSpeed);
87-
},
8881
},
8982
created() {
9083
const downloadInterval = parseInt(this.item.downloadInterval, 10) || 0;
@@ -106,13 +99,6 @@ export default {
10699
// Fetching download speed from "speed" (convert to KB/s if needed)
107100
this.dlSpeed = parseFloat(response.queue.speed) * 1024; // Convert MB to KB
108101
109-
// Alternatively, you can also use kbpersec directly
110-
// this.dlSpeed = parseFloat(response.queue.kbpersec);
111-
112-
// For upload speed, you would need a corresponding field in the API response.
113-
// Assuming there's no direct upload speed in the response, you can modify as needed.
114-
this.ulSpeed = 0; // Placeholder for upload speed (API might need to provide this)
115-
116102
} catch (e) {
117103
this.error = true;
118104
console.error(e);

0 commit comments

Comments
 (0)