mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-23 14:48:36 +01:00
Make modal component non closable
This commit is contained in:
parent
64d08deef1
commit
60787d9328
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user