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

Commit 9174b0d

Browse files
committed
Hide Socket.IO metadata in inline previews
1 parent db14ba4 commit 9174b0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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({

0 commit comments

Comments
 (0)