Reformat code

This commit is contained in:
Toast 2025-02-06 10:49:06 +01:00
parent 312fedec7b
commit 8f416cc8b4
4 changed files with 12 additions and 15 deletions

View file

@ -1,12 +1,6 @@
import {Component, inject} from '@angular/core';
import {NgbActiveModal, NgbCollapse} from '@ng-bootstrap/ng-bootstrap';
import {
FormControl,
FormGroup,
FormsModule,
ReactiveFormsModule,
Validators
} from '@angular/forms';
import {FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators} from '@angular/forms';
@Component({
selector: 'app-delete-modal',

View file

@ -89,8 +89,11 @@ export class ShowsComponent {
modal.componentInstance.show = show
modal.componentInstance.initForm()
modal.result.then(
(closeResult: Show) => {this.shows[index] = closeResult},
(dissmissResult) => {}
(closeResult: Show) => {
this.shows[index] = closeResult
},
(dissmissResult) => {
}
)
}
}