CSR-78 simplify if stmt
This commit is contained in:
parent
06c312d6c6
commit
8d3d0d9d74
1 changed files with 1 additions and 5 deletions
|
|
@ -42,11 +42,7 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
hasSubText(){
|
||||
if (this.subText.length > 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return this.subText.length > 0;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue