release links was gone in merge conflict

This commit is contained in:
Daan Wijns 2020-12-31 09:13:08 +01:00
parent cb7882766d
commit f23e4a2f37

View file

@ -111,9 +111,9 @@
</p> </p>
</v-col> </v-col>
<v-col cols="2" sm="2" md="1"> <v-col cols="2" sm="2" md="1">
<p class="mb-2"> <a target="_blank" :href="`https://github.com/WDaan/VueTorrent/releases/tag/${version}`">
{{ version }} <p class="mb-2">{{ version }}</p>
</p> </a>
</v-col> </v-col>
</v-row> </v-row>
<v-row dense> <v-row dense>
@ -123,9 +123,11 @@
</p> </p>
</v-col> </v-col>
<v-col cols="2" sm="2" md="1"> <v-col cols="2" sm="2" md="1">
<p class="mb-2"> <a target="_blank" :href="`https://github.com/qbittorrent/qBittorrent/releases/tag/release-${Qbitversion}`">
{{ Qbitversion }} <p class="mb-2">
</p> {{ Qbitversion }}
</p>
</a>
</v-col> </v-col>
</v-row> </v-row>
</v-container> </v-container>
@ -232,7 +234,8 @@ export default {
}, },
methods: { methods: {
async fetchQbitVersion() { async fetchQbitVersion() {
this.Qbitversion = await qbit.getAppVersion() const version = await qbit.getAppVersion()
this.Qbitversion = version.includes('v') ? version.substring(1) : version
} }
} }
} }