Components/create-edit-modal: add editMode and show variables

This commit is contained in:
Toast 2025-02-05 01:49:06 +01:00
parent e16cda30cc
commit d9e773c736

View file

@ -19,6 +19,9 @@ export class CreateEditModalComponent {
private toastService = inject(ToastService)
protected newShowForm: FormGroup
protected editMode: boolean = false
protected show?: Show
constructor() {
this.newShowForm = new FormGroup({
title: new FormControl("", Validators.required),