fix: build error - remove dynamic template from style tag
Some checks failed
Deploy Development / deploy (push) Failing after 31s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Failing after 2s
Test Suite / playwright-tests (push) Has been skipped

This commit is contained in:
Lars 2026-04-24 08:52:12 +02:00
parent 3fda149049
commit af2fc31f70

View File

@ -141,10 +141,6 @@ function AdminHierarchyPage() {
}
}
.admin-tree-view {
${selectedItem ? 'display: none;' : 'display: block;'}
}
.admin-tabs {
display: flex;
gap: 8px;
@ -261,6 +257,7 @@ function HierarchyTab({ hierarchy, expandedNodes, selectedItem, loading, error,
<div
className="admin-tree-view"
style={{
display: selectedItem ? 'none' : 'block',
border: '1px solid var(--border)',
borderRadius: '12px',
padding: '16px',