diff --git a/ui-ngx/src/app/modules/home/components/profile/tenant/rate-limits/rate-limits-list.component.html b/ui-ngx/src/app/modules/home/components/profile/tenant/rate-limits/rate-limits-list.component.html index 238baaf835..93fe799f09 100644 --- a/ui-ngx/src/app/modules/home/components/profile/tenant/rate-limits/rate-limits-list.component.html +++ b/ui-ngx/src/app/modules/home/components/profile/tenant/rate-limits/rate-limits-list.component.html @@ -17,31 +17,33 @@ -->
-
- tenant-profile.rate-limits.but-less-than -
+ @if($index > 0) { +
tenant-profile.rate-limits.and-also-less-than
+ }
- + tenant-profile.rate-limits.number-of-messages - - {{ 'tenant-profile.rate-limits.number-of-messages-required' | translate }} - - - {{ 'tenant-profile.rate-limits.number-of-messages-min' | translate }} - + + @if (rateLimit.get('value').hasError('required')) { + tenant-profile.rate-limits.number-of-messages-required + } @else if(rateLimit.get('value').hasError('min')) { + tenant-profile.rate-limits.number-of-messages-min + } - + tenant-profile.rate-limits.per-seconds - - {{ 'tenant-profile.rate-limits.per-seconds-required' | translate }} - - - {{ 'tenant-profile.rate-limits.per-seconds-min' | translate }} - + + @if (rateLimit.get('time').hasError('required')) { + tenant-profile.rate-limits.per-seconds-required + } @else if (rateLimit.get('time').hasError('min')) { + tenant-profile.rate-limits.per-seconds-min + } @else if (rateLimit.get('time').hasError('duplicateTime')) { + tenant-profile.rate-limits.per-seconds-duplicate + }