Skip to content

Commit 8fb2df1

Browse files
committed
fixed problem in txn/network tabs where quotes were dropped
1 parent b70e1bf commit 8fb2df1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

shells/electron/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fulcro-inspect-electron",
3-
"version": "3.0.0-3",
3+
"version": "3.0.2",
44
"description": "Electron Version of Fulcro Inspect",
55
"homepage": "https://github.com/fulcrologic/fulcro-inspect",
66
"main": "js/background/main.js",

src/client/fulcro/inspect/helpers.cljs

+4-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,10 @@
242242
(if (transit/tagged-value? x)
243243
(str "#" (.-tag x) " " (.-rep x))
244244
(try
245-
(str x)
245+
(try
246+
(pr-str x)
247+
(catch :default _
248+
(str x)))
246249
(catch :default _
247250
"UNSUPPORTED VALUE"))))
248251

src/electron/fulcro/inspect/electron/background/server.cljs

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
(if (transit/tagged-value? x)
1919
(str "#" (.-tag x) " " (.-rep x))
2020
(try
21-
(str x)
21+
(try
22+
(pr-str x)
23+
(catch :default _
24+
(str x)))
2225
(catch :default _
2326
"UNSUPPORTED VALUE"))))
2427

0 commit comments

Comments
 (0)