Reformat code
This commit is contained in:
parent
312fedec7b
commit
8f416cc8b4
4 changed files with 12 additions and 15 deletions
|
|
@ -1,12 +1,6 @@
|
||||||
import {Component, inject} from '@angular/core';
|
import {Component, inject} from '@angular/core';
|
||||||
import {NgbActiveModal, NgbCollapse} from '@ng-bootstrap/ng-bootstrap';
|
import {NgbActiveModal, NgbCollapse} from '@ng-bootstrap/ng-bootstrap';
|
||||||
import {
|
import {FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators} from '@angular/forms';
|
||||||
FormControl,
|
|
||||||
FormGroup,
|
|
||||||
FormsModule,
|
|
||||||
ReactiveFormsModule,
|
|
||||||
Validators
|
|
||||||
} from '@angular/forms';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-delete-modal',
|
selector: 'app-delete-modal',
|
||||||
|
|
|
||||||
|
|
@ -89,8 +89,11 @@ export class ShowsComponent {
|
||||||
modal.componentInstance.show = show
|
modal.componentInstance.show = show
|
||||||
modal.componentInstance.initForm()
|
modal.componentInstance.initForm()
|
||||||
modal.result.then(
|
modal.result.then(
|
||||||
(closeResult: Show) => {this.shows[index] = closeResult},
|
(closeResult: Show) => {
|
||||||
(dissmissResult) => {}
|
this.shows[index] = closeResult
|
||||||
|
},
|
||||||
|
(dissmissResult) => {
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue