refactor: make use of v-bind directive shorthand

vue.js best practices
This commit is contained in:
jamesgeorge007
2019-12-15 19:14:44 +05:30
parent 48bd772171
commit 24ee395b73

View File

@@ -327,7 +327,7 @@
</button>
</a>
<a
v-bind:href="
:href="
'https://github.com/liyasthomas/postwoman/releases/tag/' +
version.name
"
@@ -340,7 +340,7 @@
<!-- <span v-if="version.hash">
-
<a
v-bind:href="'https://github.com/liyasthomas/postwoman/commit/' + version.hash"
:href="'https://github.com/liyasthomas/postwoman/commit/' + version.hash"
target="_blank"
rel="noopener"
>{{version.hash}}</a>