From 07df146454983169ec739abd3f8a0027725f526c Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Wed, 30 Oct 2019 09:20:49 +0100 Subject: [PATCH] Replace ColorIndicator with Checkbox Signed-off-by: Georg Ehrke --- .../AppNavigationColoredCheckbox.vue | 55 +++++++++++++++++++ .../CalendarList/CalendarListItem.vue | 16 ++---- 2 files changed, 60 insertions(+), 11 deletions(-) create mode 100644 src/components/AppNavigation/CalendarList/AppNavigationColoredCheckbox.vue diff --git a/src/components/AppNavigation/CalendarList/AppNavigationColoredCheckbox.vue b/src/components/AppNavigation/CalendarList/AppNavigationColoredCheckbox.vue new file mode 100644 index 0000000000..8bd48820d8 --- /dev/null +++ b/src/components/AppNavigation/CalendarList/AppNavigationColoredCheckbox.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/src/components/AppNavigation/CalendarList/CalendarListItem.vue b/src/components/AppNavigation/CalendarList/CalendarListItem.vue index 88b523323d..d66659e618 100644 --- a/src/components/AppNavigation/CalendarList/CalendarListItem.vue +++ b/src/components/AppNavigation/CalendarList/CalendarListItem.vue @@ -26,15 +26,11 @@ :title="calendar.displayName || $t('calendar', 'Untitled calendar')" :class="{deleted: !!deleteTimeout, disabled: !calendar.enabled, 'open-sharing': shareMenuOpen}" @click.prevent.stop="toggleEnabled"> - - + @click="toggleEnabled" />