From 7dc6e0daf5f84154a4b81cdc53518b75ef343d62 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Wed, 25 Mar 2026 18:02:39 +0100 Subject: [PATCH] fix(settings): add remove password button to unified visibility tab --- components/settings/unified/tabs/SiteVisibilityTab.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/settings/unified/tabs/SiteVisibilityTab.tsx b/components/settings/unified/tabs/SiteVisibilityTab.tsx index f6f3bd1..33d80e0 100644 --- a/components/settings/unified/tabs/SiteVisibilityTab.tsx +++ b/components/settings/unified/tabs/SiteVisibilityTab.tsx @@ -114,6 +114,15 @@ export default function SiteVisibilityTab({ siteId }: { siteId: string }) { onChange={e => setPassword(e.target.value)} placeholder={site.has_password ? 'Leave empty to keep current password' : 'Set a password'} /> + {site.has_password && ( + + )} )}