Skip to content

Commit

Permalink
[SiteSettings] Remove non-applicable info when deleting site data.
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadeshjai committed Nov 15, 2024
1 parent ebd215e commit d0fafa0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions browser/resources/settings/brave_overrides/site_details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ RegisterPolymerTemplateModifications({
solanaSettings.setAttribute(
'label', loadTimeData.getString('siteSettingsSolana'))
}
const adPersonalization = templateContent.querySelector('#adPersonalization')
if (!adPersonalization) {
console.error('[Brave Settings Overrides] Could not find adPersonalization element to hide')
} else {
adPersonalization.remove()
}
}
}

Expand Down

0 comments on commit d0fafa0

Please sign in to comment.