condition correction to fix display of addAddress btn in parcours and household tunnel

This commit is contained in:
Julie Lenaerts 2022-06-14 17:15:33 +02:00
parent 0943366d39
commit a48b990c73

View File

@ -55,6 +55,21 @@
<address-render-box :address="address" :useDatePane="useDatePane"></address-render-box>
</div>
<div v-if="onlyButton">
<action-buttons
:options="this.options"
:defaultz="this.defaultz"
class="add-address-btn">
<template v-slot:action>
<button @click.prevent="$emit('openEditPane')"
class="btn" :class="getClassButton"
type="button" name="button" :title="$t(getTextButton)">
<span v-if="displayTextButton">{{ $t(getTextButton) }}</span>
</button>
</template>
</action-buttons>
</div>
</template>
<script>