From ae938b215489f2ccf388b9c5a10fa89de9290127 Mon Sep 17 00:00:00 2001 From: Pranav Date: Wed, 7 Aug 2024 09:51:37 -0700 Subject: [PATCH] fix: Disable the password section is the admin has disabled user profile update (#9910) This PR updates the profile settings page to completely disable the password section, including the heading, if the admin has disabled user profile updates. Previously, the section heading was shown with empty content, which caused confusion. --- .../dashboard/routes/dashboard/settings/profile/Index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/javascript/dashboard/routes/dashboard/settings/profile/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/profile/Index.vue index 2b79ef119..1f37a1355 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/profile/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/profile/Index.vue @@ -229,8 +229,11 @@ export default { - - + +