style fixes requestor + multiline option for thirdpartyrenderbox

This commit is contained in:
2021-08-20 17:53:48 +02:00
parent 8bcd69c5ec
commit 4ee67869bd
2 changed files with 28 additions and 15 deletions

View File

@@ -35,7 +35,7 @@
<ul class="list-content fa-ul">
<li v-if="thirdparty.address">
<i class="fa fa-li fa-map-marker"></i>
<show-address :address="thirdparty.address" :isMultiline="false"></show-address>
<show-address :address="thirdparty.address" :isMultiline="isMultiline"></show-address>
</li>
<li v-if="thirdparty.telephone">
<i class="fa fa-li fa-mobile"></i>
@@ -67,6 +67,13 @@ export default {
},
props: ['thirdparty', 'options'],
computed: {
isMultiline: function() {
if(this.options.isMultiline){
return this.options.isMultiline
} else {
return false
}
},
getGender: function() {
return this.thirdparty.gender == 'woman' ? 'renderbox.birthday.woman' : 'renderbox.birthday.man';
},