"New version" link now goes directly to tag page

This commit is contained in:
An Phan 2016-07-31 11:42:40 +08:00
parent 3b1db41bc4
commit 33708a2cbd
No known key found for this signature in database
GPG key ID: 05536BB4BCDC02A2

View file

@ -46,9 +46,9 @@
</section>
<a
href="https://github.com/phanan/koel/releases"
:href="'https://github.com/phanan/koel/releases/tag/' + sharedState.latestVersion"
target="_blank"
v-show="user.current.is_admin && sharedState.currentVersion < sharedState.latestVersion"
v-if="user.current.is_admin && sharedState.currentVersion < sharedState.latestVersion"
class="new-ver">
Koel version {{ sharedState.latestVersion }} is available!
</a>