diff --git a/frontend/src/js/component/wb-container-fields.js b/frontend/src/js/component/wb-container-fields.js
index bab11e4..5f0644d 100644
--- a/frontend/src/js/component/wb-container-fields.js
+++ b/frontend/src/js/component/wb-container-fields.js
@@ -44,7 +44,7 @@ class WBContainerFields extends Component {
) ],
[ 'Working Directory', item.cwd ],
[ 'Command', (
-
+
) ],
[ 'Output Path', item.output_path ],
[ 'Mounts', (
diff --git a/frontend/src/js/component/wb-container-request-fields.js b/frontend/src/js/component/wb-container-request-fields.js
index 38df3fd..3130db6 100644
--- a/frontend/src/js/component/wb-container-request-fields.js
+++ b/frontend/src/js/component/wb-container-request-fields.js
@@ -76,7 +76,7 @@ class WBContainerRequestFields extends Component {
) ],
[ 'Working Directory', item.cwd ],
[ 'Command', (
-
+
) ],
[ 'Output Path', item.output_path ],
[ 'Output Name', item.output_name ],
diff --git a/frontend/src/js/component/wb-json-viewer.js b/frontend/src/js/component/wb-json-viewer.js
index abbf696..02e0368 100644
--- a/frontend/src/js/component/wb-json-viewer.js
+++ b/frontend/src/js/component/wb-json-viewer.js
@@ -26,9 +26,9 @@ function detectIds(value, app) {
}
class WBJsonViewer extends Component {
- render({ value, stringify, app }) {
+ render({ value, stringify, app, pretty }) {
if (stringify)
- value = JSON.stringify(value, null, 2);
+ value = pretty ? JSON.stringify(value, null, 2) : JSON.stringify(value);
return (
{ detectIds(value, app) }
);
@@ -36,7 +36,8 @@ class WBJsonViewer extends Component {
}
WBJsonViewer.defaultProps = {
- stringify: true
+ stringify: true,
+ pretty: true
};
export default WBJsonViewer;