fix settings modal on mobile
This commit is contained in:
parent
78907571cb
commit
081b2f66f2
3 changed files with 5 additions and 4 deletions
|
@ -22,6 +22,7 @@ const ConfirmModal = {
|
|||
type: String
|
||||
}
|
||||
},
|
||||
emits: ['cancelled', 'accepted'],
|
||||
computed: {
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<dialog-modal
|
||||
<DialogModal
|
||||
v-body-scroll-lock="true"
|
||||
class="confirm-modal"
|
||||
:on-cancel="onCancel"
|
||||
@cancel="onCancel"
|
||||
>
|
||||
<template #header>
|
||||
<span v-text="title" />
|
||||
|
@ -23,7 +23,7 @@
|
|||
v-text="cancelText"
|
||||
/>
|
||||
</template>
|
||||
</dialog-modal>
|
||||
</DialogModal>
|
||||
</template>
|
||||
|
||||
<script src="./confirm_modal.js"></script>
|
||||
|
|
|
@ -170,7 +170,7 @@ const SettingsModal = {
|
|||
},
|
||||
computed: {
|
||||
...mapState(useInterfaceStore, {
|
||||
temporaryChangesTimeoutId: store => store.layoutType === 'mobile',
|
||||
temporaryChangesTimeoutId: store => store.temporaryChangesTimeoutId,
|
||||
currentSaveStateNotice: store => store.settings.currentSaveStateNotice,
|
||||
modalActivated: store => store.settingsModalState !== 'hidden',
|
||||
modalMode: store => store.settingsModalMode,
|
||||
|
|
Loading…
Add table
Reference in a new issue