mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-14 18:15:01 +00:00
Fixed reference url resolver (#8041)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
parent
f65770f40a
commit
57e055504f
@ -363,7 +363,7 @@ export async function getReferenceFromUrl (text: string): Promise<ReferenceNodeP
|
||||
const _id: Ref<Doc> | undefined =
|
||||
linkProvider !== undefined ? (await (await getResource(linkProvider.decode))(id)) ?? id : id
|
||||
|
||||
const label = await getReferenceLabel(objectclass, id)
|
||||
const label = await getReferenceLabel(objectclass, _id)
|
||||
if (label === '') return
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user