mirror of
https://github.com/bitwarden/server
synced 2026-01-05 10:03:23 +00:00
Hiding teams starter option (#4044)
This commit is contained in:
@@ -70,9 +70,10 @@
|
||||
@{
|
||||
var planTypes = Enum.GetValues<PlanType>()
|
||||
.Where(p =>
|
||||
Model.Provider == null ||
|
||||
(Model.Provider != null
|
||||
&& p is >= PlanType.TeamsMonthly2019 and <= PlanType.EnterpriseAnnually2019 or >= PlanType.TeamsMonthly2020 and <= PlanType.EnterpriseAnnually)
|
||||
(Model.Provider == null ||
|
||||
p is >= PlanType.TeamsMonthly2019 and <= PlanType.EnterpriseAnnually2019 or
|
||||
>= PlanType.TeamsMonthly2020 and <= PlanType.EnterpriseAnnually) &&
|
||||
p != PlanType.TeamsStarter
|
||||
)
|
||||
.Select(e => new SelectListItem
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user