fix: build error - remove dynamic template from style tag
This commit is contained in:
parent
3fda149049
commit
af2fc31f70
|
|
@ -141,10 +141,6 @@ function AdminHierarchyPage() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-tree-view {
|
|
||||||
${selectedItem ? 'display: none;' : 'display: block;'}
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-tabs {
|
.admin-tabs {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
|
@ -261,6 +257,7 @@ function HierarchyTab({ hierarchy, expandedNodes, selectedItem, loading, error,
|
||||||
<div
|
<div
|
||||||
className="admin-tree-view"
|
className="admin-tree-view"
|
||||||
style={{
|
style={{
|
||||||
|
display: selectedItem ? 'none' : 'block',
|
||||||
border: '1px solid var(--border)',
|
border: '1px solid var(--border)',
|
||||||
borderRadius: '12px',
|
borderRadius: '12px',
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user