https://src.bluestatic.org
/
ustaxviewer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f68159
)
Stringify line values, in case they are complex.
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 15 Mar 2020 00:31:14 +0000
(20:31 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 15 Mar 2020 00:31:14 +0000
(20:31 -0400)
src/FormView.tsx
patch
|
blob
|
history
diff --git
a/src/FormView.tsx
b/src/FormView.tsx
index 2f23583d77288e824657365dd87946c2b2243c40..4ad7f96bf5b1749c1c3242ca81c37c043588d88e 100644
(file)
--- a/
src/FormView.tsx
+++ b/
src/FormView.tsx
@@
-34,7
+34,7
@@
function Line(props: { tr, line }) {
const { tr, line } = props;
const value = createMemo(() => {
try {
- return
line.value(tr
);
+ return
JSON.stringify(line.value(tr)
);
} catch (e) {
return <span class={S.error} title={e.stack}>{e.message}</span>;
}