diff --git a/src/gui/src/UI/Dashboard/TabHome.js b/src/gui/src/UI/Dashboard/TabHome.js index 2782ef623..607e47f31 100644 --- a/src/gui/src/UI/Dashboard/TabHome.js +++ b/src/gui/src/UI/Dashboard/TabHome.js @@ -21,6 +21,7 @@ import UIWindowSaveAccount from '../UIWindowSaveAccount.js'; import { formatCredits, formatDollarsFromMicrocents, usageIsCredits } from './credits.js'; import { usageBudget } from './usageBudget.js'; import { appIconAttrs } from '../../helpers/appIcon.js'; +import { isOrgSeat } from './orgSeat.js'; // How long a completed usage load stays fresh enough to skip a repeat. Long // enough to absorb the init/onActivate/routing burst on a single dashboard @@ -519,6 +520,11 @@ const TabHome = { $el_window.find('.bento-plan-upgrade').text('Upgrade →').show(); } + // A seat's plan is the team's; the link only reaches a refusal. + if ( isOrgSeat(window.user) ) { + $el_window.find('.bento-plan-upgrade').hide(); + } + $el_window .find('.bento-plan-upgrade') .off('click.billing')