Pages/shows: change delete modal ref to const from let
This commit is contained in:
parent
3a95b89bf7
commit
ef02fe8c82
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ export class ShowsComponent {
|
|||
}
|
||||
|
||||
deleteShow(show: Show) {
|
||||
let modal: NgbModalRef = this.modalService.open(DeleteModalComponent)
|
||||
const modal: NgbModalRef = this.modalService.open(DeleteModalComponent)
|
||||
modal.componentInstance.showName = show.title;
|
||||
modal.result.then(
|
||||
(result) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue