Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit fbab282

Browse files
committed
fixed DecodeJson ItemData
1 parent b0c2549 commit fbab282

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ECharts/Item/Data.purs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ instance itemDataDecodeJson :: DecodeJson ItemData where
5959
pure $ Dat r)
6060
<|>
6161
(Label <$> (decodeJson json >>= (.? "name")))
62+
<|>
63+
(Value <$> (decodeJson json))
6264

6365

6466

0 commit comments

Comments
 (0)