Merge remote-tracking branch 'origin/try-vue' into try-vue

This commit is contained in:
Anton Romanov 2019-05-02 23:15:07 +04:00
commit 4d7777831f

View File

@ -8,9 +8,13 @@
<span class="h6">{{ paper.title }}</span>
</router-link>
</div>
<div class="col-sm-11 col">
<span class="text-muted" v-for="author in getAuthors"
:key="author.id">{{ author }}</span>
<div class="col-sm-12 col">
<span class="fa-stack fa-1x">
<div>
<i class="fa fa-circle fa-stack-2x" style="color: white"></i>
</div>
<i class="fa fa-file-text-o fa-stack-1x fa-inverse"></i></span>
<span class="text-muted" v-for="author in getAuthors">{{ author }}</span>
</div>
</div>
</template>
@ -27,6 +31,7 @@
this.paper.authors.forEach(function (author) {
authorsResult.push(author.lastName + " " + author.firstName);
});
debugger;
return authorsResult.join(', ')
}
}