Commit 68a7caa0 authored by George Tsiolis's avatar George Tsiolis

Use a ternary operator for folderIconName computed property

parent c301e441
......@@ -452,11 +452,7 @@ export default {
},
folderIconName() {
if (this.model.isOpen) {
return 'chevron-down';
}
return 'chevron-right';
return this.model.isOpen ? 'chevron-down' : 'chevron-right';
},
deployIconName() {
......
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