diff --git a/components/GoalListTabEdit.vue b/components/GoalListTabEdit.vue
index f351ac36..883cc55a 100644
--- a/components/GoalListTabEdit.vue
+++ b/components/GoalListTabEdit.vue
@@ -4,6 +4,18 @@
{{ state.title }}
{{ state.status || "---" }} |
+ {{ state.startsOn }} |
+
+
+ {{ state.percentageCompleted }}
+
+ |
diff --git a/constants/goal.js b/constants/goal.js
index a83bb47d..d732e092 100644
--- a/constants/goal.js
+++ b/constants/goal.js
@@ -5,10 +5,10 @@ export const GOAL_TYPE = {
}
export const GOAL_STATUS = {
- COMPLETED: { type: 'COMPLETED', text: 'Completed' },
- ONGOING: { type: 'ONGOING', text: 'Ongoing' },
- PAUSED: { type: 'PAUSED', text: 'Paused' }
-}
+ COMPLETED: { type: "completed", text: "Completed" },
+ ONGOING: { type: "ongoing", text: "Ongoing" },
+ PAUSED: { type: "paused", text: "Paused" },
+};
export const DEFAULT_GOAL = {
title: '',
diff --git a/models/Goal.ts b/models/Goal.ts
index 7239c3d2..5025d87b 100644
--- a/models/Goal.ts
+++ b/models/Goal.ts
@@ -12,7 +12,7 @@ export class Goal extends Model {
createdBy: this.attr(null),
startsOn: this.string(''),
endsOn: this.string(''),
- precentageCompleted: this.number(0),
+ percentageCompleted: this.number(0),
status: this.string(null),
assignedTo: this.attr(null),
assignedBy: this.string(null)
@@ -26,7 +26,7 @@ export class Goal extends Model {
declare createdBy: string
declare startsOn: string
declare endsOn: string
- declare precentageCompleted: number
+ declare percentageCompleted: number
declare status: string
declare assignedTo: string
declare assignedBy: string
|