We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43b8e3 commit b976efaCopy full SHA for b976efa
shacl12-core/index.html
@@ -70,9 +70,14 @@
70
for (const tabs of document.querySelectorAll(".ds-selector-tabs")) {
71
const selectors = document.createElement("div");
72
selectors.classList.add("selectors");
73
+
74
+ // Check if shaclc div exists in this tab group
75
+ const hasShaclc = tabs.querySelector(".shaclc");
76
77
selectors.innerHTML = `
78
<button class="selected" data-selects="turtle">Turtle</button>
79
<button data-selects="jsonld">JSON-LD</button>
80
+ ${hasShaclc ? '<button data-selects="shaclc">SHACL-C</button>' : ''}
81
`
82
83
tabs.prepend(selectors);
0 commit comments