From ad8c3a2c087c03ee97c4906f226694668f922d6c Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Tue, 23 Apr 2024 16:59:03 +0530 Subject: [PATCH] chore: cleanup notification item --- .../personal/NotificationCheckBox.vue | 4 +-- .../personal/NotificationPreferences.vue | 34 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationCheckBox.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationCheckBox.vue index 9e334de50..62fdc5ea2 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationCheckBox.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationCheckBox.vue @@ -26,7 +26,7 @@ const props = defineProps({ type: Number, default: 2, }, - selectedEmailFlags: { + selectedFlags: { type: Array, required: true, }, @@ -35,7 +35,7 @@ const props = defineProps({ const emit = defineEmits(['input']); const localValue = ref(props.value); -const localFlags = computed(() => props.selectedEmailFlags); +const localFlags = computed(() => props.selectedFlags); const handleInput = e => { emit('input', e); diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationPreferences.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationPreferences.vue index bdce6bf1a..b888e4752 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationPreferences.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/personal/NotificationPreferences.vue @@ -27,7 +27,7 @@ class="grid content-center h-12 grid-cols-12 gap-4 py-0 rounded-t-xl" >
{{ @@ -39,13 +39,13 @@
@@ -65,13 +65,13 @@ @@ -91,13 +91,13 @@ @@ -117,13 +117,13 @@ @@ -143,13 +143,13 @@ @@ -170,13 +170,13 @@ @@ -197,13 +197,13 @@ @@ -224,13 +224,13 @@