https://src.bluestatic.org
/
ustaxviewer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcec12b
)
Stringify line values with spaces.
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 15 Mar 2020 16:38:40 +0000
(12:38 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 15 Mar 2020 16:38:40 +0000
(12:38 -0400)
src/FormView.tsx
patch
|
blob
|
history
diff --git
a/src/FormView.tsx
b/src/FormView.tsx
index f559fd91795d5957665912436c91b67890880620..3ffc9a4731173707cedd21f657fd4eb566186b2f 100644
(file)
--- a/
src/FormView.tsx
+++ b/
src/FormView.tsx
@@
-38,7
+38,7
@@
function Line(props: { tr, line }) {
const { tr, line } = props;
const value = createMemo(() => {
try {
- return JSON.stringify(line.value(tr));
+ return JSON.stringify(line.value(tr)
, null, 1
);
} catch (e) {
return <span class={S.error} title={e.stack}>{e.message}</span>;
}