feat(views/table): integrate reference-like for relations

This commit is contained in:
Elian Doran
2025-07-04 16:14:14 +03:00
parent 45ac70b78f
commit ac70908c5a
2 changed files with 10 additions and 2 deletions

View File

@@ -384,7 +384,7 @@ function linkContextMenu(e: PointerEvent) {
linkContextMenuService.openContextMenu(notePath, e, viewScope, null);
}
async function loadReferenceLinkTitle($el: JQuery<HTMLElement>, href: string | null | undefined = null) {
export async function loadReferenceLinkTitle($el: JQuery<HTMLElement>, href: string | null | undefined = null) {
const $link = $el[0].tagName === "A" ? $el : $el.find("a");
href = href || $link.attr("href");