mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-23 22:58:35 +01:00
Make modal component non closable
This commit is contained in:
parent
64d08deef1
commit
60787d9328
@ -12,7 +12,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<div class="fullscreen-footer">
|
<div v-if="this.showcloseButton" class="fullscreen-footer">
|
||||||
<!-- Close button -->
|
<!-- Close button -->
|
||||||
<label class="button is-dark is-rounded" @click.stop="closeModal">
|
<label class="button is-dark is-rounded" @click.stop="closeModal">
|
||||||
{{ $t('commons.close') }}
|
{{ $t('commons.close') }}
|
||||||
@ -25,8 +25,18 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'Modal',
|
name: 'Modal',
|
||||||
|
|
||||||
|
data(){
|
||||||
|
return {
|
||||||
|
showcloseButton: this.closable,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
value: Boolean,
|
value: Boolean,
|
||||||
|
closable: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
Reference in New Issue
Block a user