diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-03-16 17:33:24 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-03-16 17:33:24 +0000 |
| commit | b632d740c13ff4e5c98a7a101f26ca60cd2629bb (patch) | |
| tree | 7f14c26115de5100cc7e1a9523f038951b043183 /src/components/settings_modal/tabs/notifications_tab.js | |
| parent | 186078ae2a330be82d5a3928b37525a7fd52cb12 (diff) | |
| parent | 123de8aad01333cc18fb5129dc82756070175fe1 (diff) | |
Merge branch 'expert-settings-and-serverside' into 'develop'
Expert settings and serverside settings + new defaults
See merge request pleroma/pleroma-fe!1438
Diffstat (limited to 'src/components/settings_modal/tabs/notifications_tab.js')
| -rw-r--r-- | src/components/settings_modal/tabs/notifications_tab.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/components/settings_modal/tabs/notifications_tab.js b/src/components/settings_modal/tabs/notifications_tab.js index 3e44c95d..3c6ab87f 100644 --- a/src/components/settings_modal/tabs/notifications_tab.js +++ b/src/components/settings_modal/tabs/notifications_tab.js @@ -1,4 +1,5 @@ -import Checkbox from 'src/components/checkbox/checkbox.vue' +import BooleanSetting from '../helpers/boolean_setting.vue' +import SharedComputedObject from '../helpers/shared_computed_object.js' const NotificationsTab = { data () { @@ -9,12 +10,13 @@ const NotificationsTab = { } }, components: { - Checkbox + BooleanSetting }, computed: { user () { return this.$store.state.users.currentUser - } + }, + ...SharedComputedObject() }, methods: { updateNotificationSettings () { |
