File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -175,18 +175,22 @@ export function getSubscriptionPlan(
175
175
}
176
176
177
177
export function getSubscriptionPlanName ( id : SubscriptionPlanId ) {
178
+ return `GitLens ${ getSubscriptionPlanTier ( id ) } ` ;
179
+ }
180
+
181
+ export function getSubscriptionPlanTier ( id : SubscriptionPlanId ) {
178
182
switch ( id ) {
179
183
case SubscriptionPlanId . CommunityWithAccount :
180
- return 'GitLens Community' ;
184
+ return 'Community' ;
181
185
case SubscriptionPlanId . Pro :
182
- return 'GitLens Pro' ;
186
+ return 'Pro' ;
183
187
case SubscriptionPlanId . Teams :
184
- return 'GitLens Teams' ;
188
+ return 'Teams' ;
185
189
case SubscriptionPlanId . Enterprise :
186
- return 'GitLens Enterprise' ;
190
+ return 'Enterprise' ;
187
191
case SubscriptionPlanId . Community :
188
192
default :
189
- return 'GitLens Community' ;
193
+ return 'Community' ;
190
194
}
191
195
}
192
196
You can’t perform that action at this time.
0 commit comments