moved stuff from settings, cleaned up naming for tabs, added close and peek

This commit is contained in:
Henry Jameson 2020-05-10 06:46:06 +03:00
parent 2e35289c33
commit bcebec478e
42 changed files with 801 additions and 1053 deletions

View file

@ -1,27 +0,0 @@
import Checkbox from '../../checkbox/checkbox.vue'
const Notifications = {
data () {
return {
activeTab: 'profile',
notificationSettings: this.$store.state.users.currentUser.notification_settings,
newDomainToMute: ''
}
},
components: {
Checkbox
},
computed: {
user () {
return this.$store.state.users.currentUser
}
},
methods: {
updateNotificationSettings () {
this.$store.state.api.backendInteractor
.updateNotificationSettings({ settings: this.notificationSettings })
}
}
}
export default Notifications