mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-02-18 00:02:02 +03:00
fix: refresh torrent detail data from store (#509)
This commit is contained in:
parent
aac9f046e2
commit
5270619a5d
1 changed files with 18 additions and 3 deletions
|
@ -61,13 +61,22 @@
|
|||
/>
|
||||
</v-tab-item>
|
||||
<v-tab-item eager value="trackers">
|
||||
<Trackers :is-active="tab === 'trackers'" :hash="hash" />
|
||||
<Trackers
|
||||
:is-active="tab === 'trackers'"
|
||||
:hash="hash"
|
||||
/>
|
||||
</v-tab-item>
|
||||
<v-tab-item eager value="peers">
|
||||
<Peers :is-active="tab === 'peers'" :hash="hash" />
|
||||
<Peers
|
||||
:is-active="tab === 'peers'"
|
||||
:hash="hash"
|
||||
/>
|
||||
</v-tab-item>
|
||||
<v-tab-item eager value="content">
|
||||
<Content :is-active="tab === 'content'" :hash="hash" />
|
||||
<Content
|
||||
:is-active="tab === 'content'"
|
||||
:hash="hash"
|
||||
/>
|
||||
</v-tab-item>
|
||||
<v-tab-item eager value="tagsAndCategories">
|
||||
<TagsAndCategories
|
||||
|
@ -108,6 +117,12 @@ export default {
|
|||
return this.$route.params.hash
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.$store.dispatch('INIT_INTERVALS')
|
||||
},
|
||||
destroyed() {
|
||||
this.$store.commit('REMOVE_INTERVALS')
|
||||
},
|
||||
methods: {
|
||||
close() {
|
||||
this.$router.back()
|
||||
|
|
Loading…
Add table
Reference in a new issue