yandere_fe/src/components/settings_modal/settings_modal.js

19 lines
437 B
JavaScript
Raw Normal View History

import Modal from 'src/components/modal/modal.vue'
2020-05-03 07:36:12 -07:00
const SettingsModal = {
components: {
Modal,
SettingsModalContent: () => import('./settings_modal_content.vue')
2020-05-03 07:36:12 -07:00
},
computed: {
modalActivated () {
return this.$store.state.interface.settingsModalState !== 'hidden'
},
modalPeeked () {
return this.$store.state.interface.settingsModalState === 'minimized'
2020-05-03 07:36:12 -07:00
}
},
}
export default SettingsModal