From fb483e68262e1b8efdd345200a4ad65876dfe1d3 Mon Sep 17 00:00:00 2001 From: Kalista Payne Date: Fri, 27 Dec 2024 14:55:10 -0600 Subject: [PATCH] fix(privacy): implement toggle disable and setting row fold --- .../src/components/settings/privacyModal.vue | 10 ++++- .../client/src/components/ui/toggleSwitch.vue | 17 ++++++++- .../settings/components/saveCancelButtons.vue | 6 +-- .../siteDataRows/privacyPreferencesRow.vue | 38 +++++++++++++++---- 4 files changed, 54 insertions(+), 17 deletions(-) diff --git a/website/client/src/components/settings/privacyModal.vue b/website/client/src/components/settings/privacyModal.vue index b4cdeeec291..4909994ecca 100644 --- a/website/client/src/components/settings/privacyModal.vue +++ b/website/client/src/components/settings/privacyModal.vue @@ -34,7 +34,10 @@ - + {{ $t('requiredToRun') }} @@ -50,7 +53,10 @@ - + {{ $t('habiticaPrivacyPolicy') }} diff --git a/website/client/src/components/ui/toggleSwitch.vue b/website/client/src/components/ui/toggleSwitch.vue index aa181865d57..53321347239 100644 --- a/website/client/src/components/ui/toggleSwitch.vue +++ b/website/client/src/components/ui/toggleSwitch.vue @@ -26,12 +26,17 @@ :checked="isChecked" :value="value" @change="handleChange" + :disabled="disabled" >