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