diff --git a/package.json b/package.json index ed25832..359fed8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ulb-darmstadt/shacl-form", - "version": "1.3.2", + "version": "1.3.3", "description": "SHACL form generator", "main": "dist/form-default.js", "module": "dist/form-default.js", @@ -21,7 +21,8 @@ "generator", "RDF", "metadata", - "editor" + "editor", + "viewer" ], "scripts": { "build": "npm run clean && webpack --mode production", diff --git a/src/node.ts b/src/node.ts index 2223f78..20f81b3 100644 --- a/src/node.ts +++ b/src/node.ts @@ -77,9 +77,6 @@ export class ShaclNode extends HTMLElement { } } - if (!label) { - label = findLabel(quads, config.attributes.language) - } if (label) { const header = document.createElement('h1') header.innerText = label