Skip to content

Commit

Permalink
Render null value in raw JSON viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorasl committed Feb 23, 2019
1 parent d350aca commit 2352378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mac/Bagel/jsonViewer/json-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}

if (value === null) {
return '<li><span class="key">"' + encode(key) + '": </span><span class="null">"' + encode(value) + '"</span></li>';
return '<li><span class="key">"' + encode(key) + '": </span><span class="null">null</span></li>';
}

switch(type){
Expand Down

0 comments on commit 2352378

Please sign in to comment.