pleroma-fe/src/components/settings_modal/settings_modal.js
2020-05-25 03:43:55 +03:00

18 lines
436 B
JavaScript

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