adding presentation background

This commit is contained in:
2022-08-14 22:11:54 +02:00
parent a02e740c0f
commit e9846b29e5
41 changed files with 212 additions and 104 deletions

View File

@@ -5,7 +5,7 @@ import {Show} from '../services/show';
import {ShowService} from '../services/show.service';
import {FormControl, FormGroup, Validators} from '@angular/forms';
import {Router} from '@angular/router';
import {faSave} from '@fortawesome/free-solid-svg-icons/faSave';
import {faSave} from '@fortawesome/free-solid-svg-icons';
@Component({
selector: 'app-new',
@@ -36,7 +36,7 @@ export class NewComponent implements OnInit {
return;
}
const id = await this.showService.new$(this.form.value);
const id = await this.showService.new$(this.form.value as Partial<Show>);
await this.router.navigateByUrl(`/shows/${id ?? ''}`);
}
}