diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-07 15:26:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-07 15:26:53 +0200 |
commit | 5c5bcea2e64daf0a66a796c89432732ed27308d2 (patch) | |
tree | 96cec8f275c5dc3d71c284453af41a4915521686 /client/src/app/+my-library/my-ownership | |
parent | a69ea13086273fc6659c153be93f0f5b37aad733 (diff) | |
download | PeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.tar.gz PeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.tar.zst PeerTube-5c5bcea2e64daf0a66a796c89432732ed27308d2.zip |
Refactor form reactive
Diffstat (limited to 'client/src/app/+my-library/my-ownership')
-rw-r--r-- | client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts index 8ead237c7..ca7eb680b 100644 --- a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts +++ b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.ts | |||
@@ -3,7 +3,7 @@ import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from ' | |||
3 | import { AuthService, Notifier } from '@app/core' | 3 | import { AuthService, Notifier } from '@app/core' |
4 | import { listUserChannelsForSelect } from '@app/helpers' | 4 | import { listUserChannelsForSelect } from '@app/helpers' |
5 | import { OWNERSHIP_CHANGE_CHANNEL_VALIDATOR } from '@app/shared/form-validators/video-ownership-change-validators' | 5 | import { OWNERSHIP_CHANGE_CHANNEL_VALIDATOR } from '@app/shared/form-validators/video-ownership-change-validators' |
6 | import { FormReactive, FormValidatorService } from '@app/shared/shared-forms' | 6 | import { FormReactive, FormReactiveService } from '@app/shared/shared-forms' |
7 | import { VideoOwnershipService } from '@app/shared/shared-main' | 7 | import { VideoOwnershipService } from '@app/shared/shared-main' |
8 | import { NgbModal } from '@ng-bootstrap/ng-bootstrap' | 8 | import { NgbModal } from '@ng-bootstrap/ng-bootstrap' |
9 | import { VideoChangeOwnership } from '@shared/models' | 9 | import { VideoChangeOwnership } from '@shared/models' |
@@ -24,7 +24,7 @@ export class MyAcceptOwnershipComponent extends FormReactive implements OnInit { | |||
24 | error: string = null | 24 | error: string = null |
25 | 25 | ||
26 | constructor ( | 26 | constructor ( |
27 | protected formValidatorService: FormValidatorService, | 27 | protected formReactiveService: FormReactiveService, |
28 | private videoOwnershipService: VideoOwnershipService, | 28 | private videoOwnershipService: VideoOwnershipService, |
29 | private notifier: Notifier, | 29 | private notifier: Notifier, |
30 | private authService: AuthService, | 30 | private authService: AuthService, |