Skip to content

Commit 54cd004

Browse files
committed
fix bug in UI w.r.t. meta$structure
Signed-off-by: Doug Davis <[email protected]>
1 parent dc37084 commit 54cd004

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

registry/httpStuff.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,8 @@ func (pw *PageWriter) Done() {
546546
structureswitch = "false"
547547
structuretext = "Show structure"
548548
}
549-
if pw.Info.ResourceUID != "" && pw.Info.What == "Entity" {
549+
if pw.Info.ResourceUID != "" && pw.Info.What == "Entity" &&
550+
(len(pw.Info.Parts) != 5 || pw.Info.Parts[4] != "meta") {
550551
structureButton = fmt.Sprintf(`<center>
551552
<button id=structure onclick='structureswitch=!structureswitch ; apply()'>%s</button>
552553
</center>

0 commit comments

Comments
 (0)