fix(radarr-settings): Make the constructor arguments readonly

This commit is contained in:
Alexandre Picavet 2025-01-03 12:34:56 +01:00
commit 35d745479f
No known key found for this signature in database
GPG key ID: 459F2C955330B4EC

View file

@ -28,10 +28,10 @@ export class RadarrComponent implements OnInit, OnDestroy {
private readonly destroyed$: Subject<void>; private readonly destroyed$: Subject<void>;
constructor( constructor(
private radarrFacade: RadarrFacade, private readonly radarrFacade: RadarrFacade,
private notificationService: NotificationService, private readonly notificationService: NotificationService,
private featureFacade: FeaturesFacade, private readonly featureFacade: FeaturesFacade,
fb: UntypedFormBuilder readonly fb: UntypedFormBuilder
) { ) {
this.form4k$ = new ReplaySubject(); this.form4k$ = new ReplaySubject();
this.normalForm$ = new ReplaySubject(); this.normalForm$ = new ReplaySubject();