diff --git a/src/app/services/backend.service.ts b/src/app/services/backend.service.ts
index d023a1b..39e2395 100644
--- a/src/app/services/backend.service.ts
+++ b/src/app/services/backend.service.ts
@@ -36,11 +36,17 @@ export class BackendService {
}
+enum Priority {
+ High="high",
+ Middle="middle",
+ Low="low"
+}
+
//enum prio{high, middle, low}; --> noch nicht im backend
export interface Task {
id?: number;
title: string;
- //prio; --> noch nicht im backend
+ priority?: Priority;
content?: string;
status?: number;
category?: number;
diff --git a/src/app/task-list/task-list.component.html b/src/app/task-list/task-list.component.html
index 269ec70..1f501a3 100644
--- a/src/app/task-list/task-list.component.html
+++ b/src/app/task-list/task-list.component.html
@@ -5,6 +5,8 @@
Titel: {{task.title}}
Inhalt: {{task.content}}
+
+ Priotität: {{task.priority}}