Skip to content

Commit

Permalink
remove stacking h1 for inerited shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
s-tittel committed Nov 20, 2023
1 parent 426a502 commit b010adb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -21,7 +21,8 @@
"generator",
"RDF",
"metadata",
"editor"
"editor",
"viewer"
],
"scripts": {
"build": "npm run clean && webpack --mode production",
Expand Down
3 changes: 0 additions & 3 deletions src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b010adb

Please sign in to comment.