From 36fb3ecf79f27d13142ca1c04ece80d5d9a86d59 Mon Sep 17 00:00:00 2001 From: Jocelyn Liu Date: Sun, 3 Nov 2024 20:30:40 -0800 Subject: [PATCH] Fix site settings --- browser/resources/settings/brave_overrides/site_details.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/browser/resources/settings/brave_overrides/site_details.ts b/browser/resources/settings/brave_overrides/site_details.ts index 06c6621063bc..dbb3246d91c6 100644 --- a/browser/resources/settings/brave_overrides/site_details.ts +++ b/browser/resources/settings/brave_overrides/site_details.ts @@ -100,11 +100,9 @@ RegisterPolymerTemplateModifications({ curChild++ } // AI Chat feature - const isOpenLeoFromBraveSearchFeatureEnabled = - loadTimeData.getBoolean('isOpenLeoFromBraveSearchFeatureEnabled') const isOpenAIChatFromBraveSearchEnabled = loadTimeData.getBoolean('isOpenAIChatFromBraveSearchEnabled') - if (isOpenAIChatFromBraveSearchEnabled && isOpenLeoFromBraveSearchFeatureEnabled) { + if (isOpenAIChatFromBraveSearchEnabled) { firstPermissionItem.insertAdjacentHTML( 'beforebegin', getTrustedHTML`