We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69f90b7 commit 25c546fCopy full SHA for 25c546f
spec/dummy/client/app/components/RailsContext.jsx
@@ -7,15 +7,14 @@ function renderContextRows(railsContext) {
7
return _.transform(
8
railsContext,
9
(accum, value, key) => {
10
- if (key !== 'serverSide') {
+ if (key !== 'serverSide' && key !== 'componentSpecificMetadata') {
11
const className = `js-${key}`;
12
- const stringifiedValue = typeof value === 'object' ? JSON.stringify(value) : value;
13
accum.push(
14
<tr key={className}>
15
<td>
16
<strong>{key}: </strong>
17
</td>
18
- <td className={className}>{`${stringifiedValue}`}</td>
+ <td className={className}>{`${value}`}</td>
19
</tr>,
20
);
21
}
0 commit comments