initial work on settings modal
This commit is contained in:
parent
9b349b4019
commit
2e35289c33
26 changed files with 1530 additions and 927 deletions
39
src/components/settings_modal/settings_modal.js
Normal file
39
src/components/settings_modal/settings_modal.js
Normal file
|
@ -0,0 +1,39 @@
|
|||
import Modal from '../modal/modal.vue'
|
||||
import TabSwitcher from '../tab_switcher/tab_switcher.js'
|
||||
|
||||
import Profile from './tabs/profile.vue'
|
||||
import Security from './tabs/security.vue'
|
||||
import Notifications from './tabs/notifications.vue'
|
||||
import DataImportExport from './tabs/data_import_export.vue'
|
||||
import MutesAndBlocks from './tabs/mutes_and_blocks.vue'
|
||||
|
||||
const SettingsModal = {
|
||||
components: {
|
||||
Modal,
|
||||
TabSwitcher,
|
||||
Profile,
|
||||
Security,
|
||||
Notifications,
|
||||
DataImportExport,
|
||||
MutesAndBlocks
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
resettingForm: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
isLoggedIn () {
|
||||
return !!this.$store.state.users.currentUser
|
||||
},
|
||||
modalActivated () {
|
||||
return this.$store.state.interface.settingsModalState !== 'hidden'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
|
||||
export default SettingsModal
|
Loading…
Add table
Add a link
Reference in a new issue