From 08612945344d97d4e22e3bc8514c00ec120983fa Mon Sep 17 00:00:00 2001 From: Patrick Mueller Date: Mon, 15 May 2023 21:04:09 +0200 Subject: [PATCH] Add draft as default status for new events --- src/app/components/events-table/events-table.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/events-table/events-table.component.ts b/src/app/components/events-table/events-table.component.ts index 02c9e79..c93c2c6 100644 --- a/src/app/components/events-table/events-table.component.ts +++ b/src/app/components/events-table/events-table.component.ts @@ -23,7 +23,8 @@ export class EventsTableComponent implements OnInit { startDateTime: new Date(), endDateTime: new Date(), createdDate: new Date(), - createdBy: UtilsService.getNameFromLocalStorage() + createdBy: UtilsService.getNameFromLocalStorage(), + status: 'DRAFT' } as Event); }