diff options
author | dartcafe <github@dartcafe.de> | 2021-04-18 23:59:52 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-04-18 23:59:52 +0300 |
commit | 43e516fd48128c94b045c83674fe5970e61cee2d (patch) | |
tree | 79b00434d26a6ed2157f04932e8052873b4b3728 /src/js/components/Settings | |
parent | 5ada3eaef1c0eda81d94a3fe26826313241d929d (diff) |
arrow-parens
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Settings')
-rw-r--r-- | src/js/components/Settings/ExpertimantalSettings.vue | 2 | ||||
-rw-r--r-- | src/js/components/Settings/FeatureSettings.vue | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/js/components/Settings/ExpertimantalSettings.vue b/src/js/components/Settings/ExpertimantalSettings.vue index 7722e1e6..e0e15b1d 100644 --- a/src/js/components/Settings/ExpertimantalSettings.vue +++ b/src/js/components/Settings/ExpertimantalSettings.vue @@ -72,7 +72,7 @@ export default { computed: { ...mapState({ - settings: state => state.settings.user, + settings: (state) => state.settings.user, }), // Add bindings experimental: { diff --git a/src/js/components/Settings/FeatureSettings.vue b/src/js/components/Settings/FeatureSettings.vue index 10429008..6d4e5847 100644 --- a/src/js/components/Settings/FeatureSettings.vue +++ b/src/js/components/Settings/FeatureSettings.vue @@ -69,8 +69,8 @@ export default { computed: { ...mapState({ - settings: state => state.settings.user, - calendars: state => state.settings.availableCalendars, + settings: (state) => state.settings.user, + calendars: (state) => state.settings.availableCalendars, }), // Add bindings calendarPeek: { @@ -83,7 +83,7 @@ export default { }, calendarChoices() { - return this.calendars.map(calendar => ({ + return this.calendars.map((calendar) => ({ key: calendar.key.toString(), name: calendar.name, displayColor: calendar.displayColor, @@ -125,7 +125,7 @@ export default { async clickedCalendar(calendar) { if (this.settings.checkCalendars.includes(calendar.key)) { - await this.writeValue({ checkCalendars: this.settings.checkCalendars.filter(item => item !== calendar.key.toString()) }) + await this.writeValue({ checkCalendars: this.settings.checkCalendars.filter((item) => item !== calendar.key.toString()) }) } else { await this.$store.commit('settings/addCheckCalendar', { calendar }) } |