Skip to content
This repository was archived by the owner on Aug 13, 2018. It is now read-only.

Commit 3108455

Browse files
committed
Merge branch 'esphen-issue53'
2 parents c3e7cc9 + 956ccd5 commit 3108455

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

data/components/frame-list.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ var FrameBubble = React.createFactory(React.createClass({
158158
if (!preview && frame.socketIo) {
159159
preview = TreeView({
160160
key: "preview-socketio",
161-
data: {"Socket IO": frame.socketIo},
161+
// We only show the data that is deemed interesting for the user in the
162+
// inline previews, not the socketIO metadata
163+
data: {"Socket IO": frame.socketIo.data},
162164
mode: "tiny"
163165
});
164166
}

data/components/frame-table.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ var FrameRow = React.createFactory(React.createClass({
169169
if (frame.socketIo) {
170170
payload = TreeView({
171171
key: "preview-socketio",
172-
data: {"Socket IO": frame.socketIo},
172+
// We only show the data that is deemed interesting for the user in the
173+
// inline previews, not the socketIO metadata
174+
data: {"Socket IO": frame.socketIo.data},
173175
});
174176
} else if (frame.sockJs) {
175177
payload = TreeView({

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"license": "BSD-3-Clause",
1515
"icon": "chrome://websocketmonitor/skin/icon-32-color.png",
1616
"homepage": "https://github.com/firebug/websocket-monitor/wiki",
17-
"version": "0.5.1",
17+
"version": "0.5.2",
1818
"main": "lib/index",
1919
"repository": {
2020
"type": "git",

0 commit comments

Comments
 (0)