From b010adb2c861b5ac3bb3fb1c960a24f8731a45f6 Mon Sep 17 00:00:00 2001 From: Stephan Tittel Date: Mon, 20 Nov 2023 14:09:44 +0100 Subject: [PATCH] remove stacking h1 for inerited shapes --- package.json | 5 +++-- src/node.ts | 3 --- 2 files changed, 3 insertions(+), 5 deletions(-) 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