Skip to content

Commit eb2b74e

Browse files
author
Cerem Cem ASLAN
committed
fixes #189, fixed an exception when obj is "undefined"
1 parent dfaf351 commit eb2b74e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/debug-obj/index.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
icon.bug
44

55
modal(title="{{title}}" basedon="{{mymodal1}}")
6-
.ui.segment(style="width: 800px")
7-
json-edit(value="{{obj}}" style="width: 100%; height: 100em;")
6+
.ui.segment(style="width: 80vw; height: calc(80vh - 80px)")
7+
json-edit(value="{{obj || null}}" style="width: 100%; height: 100%;")

0 commit comments

Comments
 (0)