2020-05-10 13:46:06 +10:00
|
|
|
import Modal from 'src/components/modal/modal.vue'
|
2020-05-04 00:36:12 +10:00
|
|
|
|
|
|
|
const SettingsModal = {
|
|
|
|
components: {
|
|
|
|
Modal,
|
2020-05-25 10:14:41 +10:00
|
|
|
SettingsModalContent: () => import('./settings_modal_content.vue')
|
2020-05-04 00:36:12 +10:00
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
modalActivated () {
|
|
|
|
return this.$store.state.interface.settingsModalState !== 'hidden'
|
2020-05-10 13:46:06 +10:00
|
|
|
},
|
|
|
|
modalPeeked () {
|
|
|
|
return this.$store.state.interface.settingsModalState === 'minimized'
|
2020-05-04 00:36:12 +10:00
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
export default SettingsModal
|