remove ngx scrollbar

This commit is contained in:
2023-11-02 22:26:42 +01:00
parent c19e115b43
commit d71bd41495
9 changed files with 10 additions and 69 deletions

View File

@@ -7,6 +7,8 @@ import {FormControl, FormGroup, Validators} from '@angular/forms';
import {ActivatedRoute, Router} from '@angular/router';
import {faSave} from '@fortawesome/free-solid-svg-icons';
import {map, switchMap} from 'rxjs/operators';
import firebase from 'firebase/compat/app';
import Timestamp = firebase.firestore.Timestamp;
@Component({
selector: 'app-edit',
@@ -56,7 +58,7 @@ export class EditComponent implements OnInit {
await this.showService.update$(
this.form.value.id as string,
{
date: this.form.value.date,
date: Timestamp.fromDate(this.form.value.date),
showType: this.form.value.showType,
} as Partial<Show>
);