diff --git a/app/ts/components/pages/WebsiteAccess.tsx b/app/ts/components/pages/WebsiteAccess.tsx index a94b12dc..ae58e49b 100644 --- a/app/ts/components/pages/WebsiteAccess.tsx +++ b/app/ts/components/pages/WebsiteAccess.tsx @@ -279,6 +279,9 @@ const NoAccessPrompt = ({ websiteAccess }: { websiteAccess: Signal websiteAccess.value.website) + // If the website has been granted access, don't show this message + if (websiteAccess.value.access === true) return <> + const confirmOrRejectRemoval = async (returnValue: string) => { if (returnValue !== 'confirm' || !websiteAccess.value) return await sendPopupMessageToBackgroundPage({ method: 'popup_removeWebsiteAccess', data: { websiteOrigin: websiteAccess.value.website.websiteOrigin } })