diff --git a/src/components/fields/CustomDataTypeLink.svelte b/src/components/fields/CustomDataTypeLink.svelte
index 5f44a04..08d02f0 100644
--- a/src/components/fields/CustomDataTypeLink.svelte
+++ b/src/components/fields/CustomDataTypeLink.svelte
@@ -10,6 +10,13 @@
export let field;
const fdata = fieldData(data, table, field);
+
+ function findText() {
+ if ("text" in fdata) {
+ return bestLanguage(fdata.text, $dataLanguagesStore)
+ }
+ return fdata.url;
+ }
-{bestLanguage(fdata.text, $dataLanguagesStore)}
\ No newline at end of file
+{findText()}
\ No newline at end of file