Skip to content

Commit 3925b19

Browse files
committed
Fix parse error message/details output.
1 parent b21879e commit 3925b19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

playground/next/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,10 @@ <h2 class="ui massive header">JSON-LD Playground</h2>
270270
</div>
271271
</div>
272272
<!-- errors -->
273-
<div class="ui error message" v-show="parseError">
273+
<div class="ui error message" v-show="parseError.message">
274274
<div class="header" v-text="parseError.message"></div>
275-
<div class="content" v-if="parseError.details">
276-
<pre v-text="JSON.stringify(parseError.details.event, null, 2)"></pre>
275+
<div class="content">
276+
<pre v-text="JSON.stringify(parseError?.details?.event, null, 2)"></pre>
277277
</div>
278278
</div>
279279
<!-- outputs and renderings -->

0 commit comments

Comments
 (0)