diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-11-17 19:20:52 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-17 19:20:52 +0300 |
commit | 9d3949abaa304c2c7e6b75b213e6ff0ac5128a8f (patch) | |
tree | 47e8de9c4250af7aee2b56f6e88b7a80a1ea5003 /app/assets/javascripts | |
parent | 6d96614343e7039afc9efa2882d0e0882d717ceb (diff) |
inline conditions
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/environments/components/environment_item.js.es6 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/assets/javascripts/environments/components/environment_item.js.es6 b/app/assets/javascripts/environments/components/environment_item.js.es6 index 0e29350d7e4..871da5790ec 100644 --- a/app/assets/javascripts/environments/components/environment_item.js.es6 +++ b/app/assets/javascripts/environments/components/environment_item.js.es6 @@ -76,8 +76,7 @@ * @returns {Boolean|Undefined} */ isFolder() { - return this.model.children && - this.model.children.length > 0; + return this.model.children && this.model.children.length > 0; }, /** @@ -97,8 +96,7 @@ * @returns {Number|Undefined} The number of environments for the current folder. */ childrenCounter() { - return this.model.children && - this.model.children.length; + return this.model.children && this.model.children.length; }, /** |