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: {
|
computed: {
|
||||||
hasSubText(){
|
hasSubText(){
|
||||||
if (this.subText.length > 0){
|
return this.subText.length > 0;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue