diff --git a/src/app/task-form/task-form.component.html b/src/app/task-form/task-form.component.html index 7d93e0e..9d98909 100644 --- a/src/app/task-form/task-form.component.html +++ b/src/app/task-form/task-form.component.html @@ -29,13 +29,13 @@
-
- - +
diff --git a/src/app/task-form/task-form.component.ts b/src/app/task-form/task-form.component.ts index c50dac2..e2f3c76 100644 --- a/src/app/task-form/task-form.component.ts +++ b/src/app/task-form/task-form.component.ts @@ -112,4 +112,8 @@ export class TaskFormComponent implements OnInit { } }); } + + public getAllPriorities(): string[] { + return Object.values(Priority); + } }