[ACS-8960] Review and apply required inputs where possible (#4339)

This commit is contained in:
dominikiwanekhyland
2025-01-17 13:15:35 +01:00
committed by GitHub
parent d30c933259
commit 52b4060e78
8 changed files with 10 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle';
host: { class: 'aca-rule-list-item' }
})
export class RuleListItemUiComponent {
@Input()
@Input({ required: true })
rule: Rule;
@Input()
@HostBinding('class.aca-selected')

View File

@@ -57,9 +57,9 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
host: { class: 'aca-rule-list' }
})
export class RuleListUiComponent implements OnInit {
@Input()
@Input({ required: true })
mainRuleSet$: Observable<RuleSet>;
@Input()
@Input({ required: true })
folderId: string;
@Input()
inheritedRuleSets: RuleSet[] = [];