Przeglądaj źródła

Adds badge context for paid

main
Eric Amodio 1 rok temu
rodzic
commit
c0d5b6e6fc
1 zmienionych plików z 5 dodań i 0 usunięć
  1. +5
    -0
      src/webviews/apps/shared/components/feature-gate-badge.ts

+ 5
- 0
src/webviews/apps/shared/components/feature-gate-badge.ts Wyświetl plik

@ -126,6 +126,11 @@ export class FeatureGateBadge extends LitElement {
return html`<span class="badge-footnote"
> Requires a paid subscription for use on privately hosted repos.</span
>`;
case SubscriptionState.Paid:
/* prettier-ignore */
return html`<span class="badge-footnote"
>You have access to features on privately hosted repos and features based on your subscription.</span
>`;
default:
return nothing;
}

Ładowanie…
Anuluj
Zapisz