From 7a7562e54e66aebbf782baefa89b1f17e5119afa Mon Sep 17 00:00:00 2001 From: Daan Wijns Date: Sat, 14 Aug 2021 11:35:08 +0200 Subject: [PATCH] feat: show created by info #279 --- .../Modals/TorrentDetailModal/Tabs/Info.vue | 22 ++++++++++++++++++- src/services/qbit.js | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/components/Modals/TorrentDetailModal/Tabs/Info.vue b/src/components/Modals/TorrentDetailModal/Tabs/Info.vue index a65506fb..b131f7b7 100644 --- a/src/components/Modals/TorrentDetailModal/Tabs/Info.vue +++ b/src/components/Modals/TorrentDetailModal/Tabs/Info.vue @@ -134,6 +134,14 @@ {{ torrent.tracker }} + + + Created By + + + {{ createdBy }} + + Comments @@ -213,6 +221,8 @@ diff --git a/src/services/qbit.js b/src/services/qbit.js index 6bc72f85..2c3150e8 100644 --- a/src/services/qbit.js +++ b/src/services/qbit.js @@ -145,7 +145,7 @@ class Qbit { getTorrentProperties(hash) { return this.axios.get('/torrents/properties', { params: { hash } - }) + }).then(res => res.data) } // Post