diff options
author | dartcafe <github@dartcafe.de> | 2021-01-10 23:28:11 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-01-11 00:43:46 +0300 |
commit | 98feeb300ebd1a46c3bc4a9a7fd4c6d82a247d9b (patch) | |
tree | 1a8d91ee23e5c4e5c885e59d15ef993ca60270b2 /src/js/components/Settings | |
parent | c8a5e72cdd7451347011b83a320ec21a8ce927b4 (diff) |
refactoring, optimization, tidy
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Settings')
-rw-r--r-- | src/js/components/Settings/FeatureSettings.vue | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/js/components/Settings/FeatureSettings.vue b/src/js/components/Settings/FeatureSettings.vue index 496df649..c3e09f23 100644 --- a/src/js/components/Settings/FeatureSettings.vue +++ b/src/js/components/Settings/FeatureSettings.vue @@ -96,10 +96,6 @@ export default { calendarChoices() { const list = [] this.calendars.forEach((calendar) => { - // console.log(calendar.key.toString()) - // console.log(this.settings.checkCalendars) - // console.log(this.settings.checkCalendars.includes(calendar.key.toString())) - list.push({ key: calendar.key.toString(), name: calendar.name, @@ -144,17 +140,11 @@ export default { }, clickedCalendar(calendar) { - // console.log(calendar.key) - // console.log(checkCalendars) if (this.settings.checkCalendars.includes(calendar.key)) { - // console.log(this.settings.checkCalendars) - // console.log('removed', this.settings.checkCalendars.filter(item => item !== calendar.key.toString())) this.writeValue({ checkCalendars: this.settings.checkCalendars.filter(item => item !== calendar.key.toString()) }) } else { this.$store.commit('settings/addCheckCalendar', { calendar: calendar }) - // this.writeValue({ checkCalendars: checkCalendars }) } - // console.log(this.settings.checkCalendars) this.$store.dispatch('settings/write') }, }, |