Components/create-edit-modal: add editMode and show variables
This commit is contained in:
parent
e16cda30cc
commit
d9e773c736
1 changed files with 3 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue