diff --git a/CHANGELOG.md b/CHANGELOG.md index e358b71e0..6030dafdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +- The "Upgrade to Pro" button in the sidebar footer and the per-item "Upgrade" badges in the default and settings sidebars are now hidden for users who are not an OWNER in the org, since those prompts are only meaningful for the billing decision-maker. [#1524](https://github.com/sourcebot-dev/sourcebot/pull/1524) + ## [5.1.5] - 2026-07-31 ### Fixed diff --git a/packages/web/src/app/(app)/@sidebar/components/defaultSidebar/index.tsx b/packages/web/src/app/(app)/@sidebar/components/defaultSidebar/index.tsx index a0ccd6269..724fe59a0 100644 --- a/packages/web/src/app/(app)/@sidebar/components/defaultSidebar/index.tsx +++ b/packages/web/src/app/(app)/@sidebar/components/defaultSidebar/index.tsx @@ -59,11 +59,13 @@ export async function DefaultSidebar() { collapsible="icon" isValidLicenseActive={licenseActive} isAskGhEnabled={env.EXPERIMENT_ASK_GH_ENABLED === 'true'} + isOwner={isOwner} headerContent={