Commit 0947cd5f18f9f8442ede9cd0af9e7adf9002d6a4
Committed by
GitHub
Merge pull request #4747 from ViacheslavKlimov/fix/tenant-profile-configuration-ui
Fix DefaultTenantProfileConfiguration model
Showing
1 changed file
with
5 additions
and
1 deletions
... | ... | @@ -49,8 +49,10 @@ export interface DefaultTenantProfileConfiguration { |
49 | 49 | maxRuleNodeExecutionsPerMessage: number; |
50 | 50 | maxEmails: number; |
51 | 51 | maxSms: number; |
52 | + maxCreatedAlarms: number; | |
52 | 53 | |
53 | 54 | defaultStorageTtlDays: number; |
55 | + alarmsTtlDays: number; | |
54 | 56 | } |
55 | 57 | |
56 | 58 | export type TenantProfileConfigurations = DefaultTenantProfileConfiguration; |
... | ... | @@ -81,7 +83,9 @@ export function createTenantProfileConfiguration(type: TenantProfileType): Tenan |
81 | 83 | maxRuleNodeExecutionsPerMessage: 0, |
82 | 84 | maxEmails: 0, |
83 | 85 | maxSms: 0, |
84 | - defaultStorageTtlDays: 0 | |
86 | + maxCreatedAlarms: 0, | |
87 | + defaultStorageTtlDays: 0, | |
88 | + alarmsTtlDays: 0 | |
85 | 89 | }; |
86 | 90 | configuration = {...defaultConfiguration, type: TenantProfileType.DEFAULT}; |
87 | 91 | break; | ... | ... |