Show API options on trial
This commit is contained in:
parent
a07bda6331
commit
00597ad55a
|
|
@ -758,6 +758,8 @@ abstract class AppState implements Built<AppState, AppStateBuilder> {
|
|||
|
||||
bool get isProPlan => isEnterprisePlan || account.plan == kPlanPro;
|
||||
|
||||
bool get isTrial => account.isTrial;
|
||||
|
||||
bool get isEnterprisePlan => !isProduction || account.plan == kPlanEnterprise;
|
||||
|
||||
//bool get isEnterprisePlan => isSelfHosted || account.plan == kPlanEnterprise;
|
||||
|
|
|
|||
|
|
@ -461,7 +461,7 @@ class _AccountOverview extends StatelessWidget {
|
|||
child: ListDivider(),
|
||||
),
|
||||
],
|
||||
if (state.isProPlan)
|
||||
if (state.isProPlan || state.isTrial)
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Row(children: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue