File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -647,11 +647,15 @@ export const MockEntitlementsWithWarnings: TypesGen.Entitlements = {
647
647
warnings : [ "You are over your active user limit." , "And another thing." ] ,
648
648
has_license : true ,
649
649
features : {
650
- activeUsers : {
650
+ user_limit : {
651
651
enabled : true ,
652
- entitlement : "entitled " ,
652
+ entitlement : "grace_period " ,
653
653
limit : 100 ,
654
654
actual : 102 ,
655
655
} ,
656
+ audit_log : {
657
+ enabled : true ,
658
+ entitlement : "entitled" ,
659
+ }
656
660
} ,
657
661
}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export const entitlementsMachine = createMachine(
47
47
on : {
48
48
GET_ENTITLEMENTS : "gettingEntitlements" ,
49
49
SHOW_MOCK_BANNER : { actions : "assignMockEntitlements" } ,
50
- HIDE_MOCK_BANNER : { actions : "clearMockEntitlements" } ,
50
+ HIDE_MOCK_BANNER : "gettingEntitlements"
51
51
} ,
52
52
} ,
53
53
gettingEntitlements : {
@@ -81,9 +81,6 @@ export const entitlementsMachine = createMachine(
81
81
assignMockEntitlements : assign ( {
82
82
entitlements : ( _ ) => MockEntitlementsWithWarnings ,
83
83
} ) ,
84
- clearMockEntitlements : assign ( {
85
- entitlements : ( _ ) => emptyEntitlements ,
86
- } ) ,
87
84
} ,
88
85
services : {
89
86
getEntitlements : ( ) => API . getEntitlements ( ) ,
You can’t perform that action at this time.
0 commit comments