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