From f75123026dc4d01fa8164f081c44cf41acb4093c Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 7 Dec 2017 14:06:51 -0800 Subject: [PATCH] Expand the entire job definition by default --- ui/app/components/json-viewer.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/app/components/json-viewer.js b/ui/app/components/json-viewer.js index e871515c830..2d8442e3303 100644 --- a/ui/app/components/json-viewer.js +++ b/ui/app/components/json-viewer.js @@ -11,7 +11,7 @@ export default Component.extend({ classNames: ['json-viewer'], json: null, - expandDepth: 2, + expandDepth: Infinity, formatter: computed('json', 'expandDepth', function() { return new JSONFormatter(this.get('json'), this.get('expandDepth'), { @@ -30,5 +30,7 @@ export default Component.extend({ }); function embedViewer() { - this.$().empty().append(this.get('formatter').render()); + this.$() + .empty() + .append(this.get('formatter').render()); }