diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:42:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-18 08:35:06 +0200 |
commit | 9df52d660feb722404be00a50f3c8a612bec1c15 (patch) | |
tree | dde52880fa012874d24c60f64eb596b0a789cc8b /client/src/app/modal | |
parent | adb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff) | |
download | PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip |
Migrate client to eslint
Diffstat (limited to 'client/src/app/modal')
-rw-r--r-- | client/src/app/modal/custom-modal.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/modal/custom-modal.component.ts b/client/src/app/modal/custom-modal.component.ts index a98579085..559230e04 100644 --- a/client/src/app/modal/custom-modal.component.ts +++ b/client/src/app/modal/custom-modal.component.ts | |||
@@ -22,10 +22,10 @@ export class CustomModalComponent { | |||
22 | ) { } | 22 | ) { } |
23 | 23 | ||
24 | show (input: { | 24 | show (input: { |
25 | title: string, | 25 | title: string |
26 | content: string, | 26 | content: string |
27 | close?: boolean, | 27 | close?: boolean |
28 | cancel?: { value: string, action?: () => void }, | 28 | cancel?: { value: string, action?: () => void } |
29 | confirm?: { value: string, action?: () => void } | 29 | confirm?: { value: string, action?: () => void } |
30 | }) { | 30 | }) { |
31 | if (this.modalRef instanceof NgbModalRef && this.modalService.hasOpenModals()) { | 31 | if (this.modalRef instanceof NgbModalRef && this.modalService.hasOpenModals()) { |