From 7203ee6d6721890626544f61044a8b1cff49e962 Mon Sep 17 00:00:00 2001 From: nleanba <25827850+nleanba@users.noreply.github.com> Date: Sun, 5 Jan 2025 11:45:18 +0100 Subject: [PATCH] quick fix --- example/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/index.ts b/example/index.ts index ab389c9..0e32a2f 100644 --- a/example/index.ts +++ b/example/index.ts @@ -449,7 +449,7 @@ class SynoName extends HTMLElement { const treatments = document.createElement("ul"); this.append(treatments); - if (authorizedName.taxonConceptURIs) { + if (authorizedName.taxonConceptURIs[0]) { const name_uri = document.createElement("a"); name_uri.classList.add("taxon", "uri"); // TODO handle other URIs