add link to NodeView

This commit is contained in:
Axolotle
2021-12-06 19:16:51 +01:00
parent cf441ecfab
commit eb3828a7f8
+2 -1
View File
@@ -12,7 +12,8 @@
<slot name="default" />
<span>
<strong>{{ toCommaList(node.authors) }}</strong>,
<button-url v-if="url && node.piece" :link="node.piece" />
<button-url v-if="url && node.piece && node.piece.url" :link="node.piece" />
<button-url v-if="url && node.link && node.link.url" :link="node.link" />
</span>
<span>
<span v-if="node.preTitle" v-html="' ' + trim(node.preTitle) + ','" />