Make modal component non closable

This commit is contained in:
Bubka 2022-05-19 15:44:33 +02:00
parent 64d08deef1
commit 60787d9328

View File

@ -12,7 +12,7 @@
</div>
</section>
</div>
<div class="fullscreen-footer">
<div v-if="this.showcloseButton" class="fullscreen-footer">
<!-- Close button -->
<label class="button is-dark is-rounded" @click.stop="closeModal">
{{ $t('commons.close') }}
@ -25,8 +25,18 @@
export default {
name: 'Modal',
data(){
return {
showcloseButton: this.closable,
}
},
props: {
value: Boolean,
closable: {
type: Boolean,
default: true
},
},
computed: {