@ -10,7 +10,7 @@ import {BillingPlanManagers} from 'app/client/ui/BillingPlanManagers';
import { createForbiddenPage } from 'app/client/ui/errorPages' ;
import { leftPanelBasic } from 'app/client/ui/LeftPanelCommon' ;
import { pagePanels } from 'app/client/ui/PagePanels' ;
import { NEW_DEAL, showTeamUpgradeConfirmation} from 'app/client/ui/ProductUpgrades' ;
import { showTeamUpgradeConfirmation} from 'app/client/ui/ProductUpgrades' ;
import { createTopBarHome } from 'app/client/ui/TopBar' ;
import { cssBreadcrumbs , cssBreadcrumbsLink , separator } from 'app/client/ui2018/breadcrumbs' ;
import { bigBasicButton , bigBasicButtonLink , bigPrimaryButton } from 'app/client/ui2018/buttons' ;
@ -272,9 +272,8 @@ export class BillingPage extends Disposable {
) ,
! canManage ? null :
makeActionLink ( 'Manage billing' , 'Settings' , this . _model . getCustomerPortalUrl ( ) , testId ( 'portal-link' ) ) ,
! wasTeam ? null :
dom . maybe ( NEW_DEAL ( ) , ( ) = > makeActionButton ( 'Downgrade plan' , 'Settings' ,
( ) = > this . _confirmDowngradeToTeamFree ( ) , testId ( 'downgrade-free-link' ) ) ) ,
! wasTeam ? null : makeActionButton ( 'Downgrade plan' , 'Settings' ,
( ) = > this . _confirmDowngradeToTeamFree ( ) , testId ( 'downgrade-free-link' ) ) ,
! canRenew ? null :
makeActionLink ( 'Renew subscription' , 'Settings' , this . _model . renewPlan ( ) , testId ( 'renew-link' ) ) ,
! canUpgrade ? null :