Commit 9d3949ab authored by Filipa Lacerda's avatar Filipa Lacerda

inline conditions

parent 6d966143
......@@ -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;
},
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment