aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/settings_modal.js
blob: 192ba5d3950dcba650b4e20da387dbd07d9a181b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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