Commit d773182f authored by George Tsiolis's avatar George Tsiolis

Use a ternary operator for deployIconName computed property

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