Skip to content

Commit

Permalink
fixed problem in txn/network tabs where quotes were dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
awkay committed Dec 10, 2020
1 parent b70e1bf commit 8fb2df1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shells/electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fulcro-inspect-electron",
"version": "3.0.0-3",
"version": "3.0.2",
"description": "Electron Version of Fulcro Inspect",
"homepage": "https://github.com/fulcrologic/fulcro-inspect",
"main": "js/background/main.js",
Expand Down
5 changes: 4 additions & 1 deletion src/client/fulcro/inspect/helpers.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,10 @@
(if (transit/tagged-value? x)
(str "#" (.-tag x) " " (.-rep x))
(try
(str x)
(try
(pr-str x)
(catch :default _
(str x)))
(catch :default _
"UNSUPPORTED VALUE"))))

Expand Down
5 changes: 4 additions & 1 deletion src/electron/fulcro/inspect/electron/background/server.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
(if (transit/tagged-value? x)
(str "#" (.-tag x) " " (.-rep x))
(try
(str x)
(try
(pr-str x)
(catch :default _
(str x)))
(catch :default _
"UNSUPPORTED VALUE"))))

Expand Down

0 comments on commit 8fb2df1

Please sign in to comment.