diff options
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntry.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntry.vue | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 55bdbb8fdcb..407221037dc 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -29,13 +29,16 @@ :tooltip-message="share.type === SHARE_TYPES.SHARE_TYPE_USER ? share.shareWith : ''" :menu-position="'left'" :url="share.shareWithAvatar" /> - <div v-tooltip.auto="tooltip" class="sharing-entry__desc"> + <component :is="share.shareWithLink ? 'a' : 'div'" + :href="share.shareWithLink" + v-tooltip.auto="tooltip" + class="sharing-entry__desc"> <h5>{{ title }}</h5> <p v-if="hasStatus"> <span>{{ share.status.icon || '' }}</span> <span>{{ share.status.message || '' }}</span> </p> - </div> + </component> <Actions menu-align="right" class="sharing-entry__actions" |