Skip to content

Commit 9e74ac9

Browse files
committed
fix(LinkBubble): Display references in link bubble only if href is set
This prevents requests to `/resolve?reference=.../null` when a document gets opened without a link being selected. Contributes to nextcloud/collectives#1167 Signed-off-by: Jonas <[email protected]>
1 parent 4381329 commit 9e74ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Link/LinkBubbleView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
</div>
7070

7171
<!-- link preview -->
72-
<NcReferenceList v-else
72+
<NcReferenceList v-else-if="href"
7373
ref="referencelist"
7474
:text="sanitizedHref"
7575
:limit="1"

0 commit comments

Comments
 (0)