Kaynağa Gözat

:wastebasket: cleanup, comment removal

tags/0.0.3^2
juancarbajal98 3 yıl önce
ebeveyn
işleme
586747e3c0

+ 21
- 21
frontend/src/entities/card/card.js Dosyayı Görüntüle

@@ -40,32 +40,32 @@ class SummaryGroup {
40 40
 }
41 41
 
42 42
 class Aspect {
43
-    constructor({ name, labels, percentage = 50 }) {
43
+    constructor({ name, labels, percentage = 1 }) {
44 44
         this.name = name
45 45
         this.labels = labels
46 46
         this.percentage = percentage
47 47
     }
48 48
 }
49
-const cardAspects = [ // TODO these aspects don't align with response_keys DB table
50
-new Aspect({
51
-    name: 'creativity',
52
-    labels: ['creative', 'methodical'],
53
-}),
54
-new Aspect({
55
-    name: 'dynamism',
56
-    labels: ['dynamic', 'ordered'],
57
-}),
58
-new Aspect({
59
-    name: 'precision',
60
-    labels: ['precise', 'resourceful'],
61
-}),
62
-new Aspect({
63
-    name: 'vision',
64
-    labels: ['visionary', 'implementer'],
65
-}),
66
-new Aspect({
67
-    name: 'focus',
68
-    labels: ['big picture', 'focused'],
49
+const cardAspects = [
50
+    new Aspect({
51
+        name: 'creativity',
52
+        labels: ['creative', 'methodical'],
53
+    }),
54
+    new Aspect({
55
+        name: 'dynamism',
56
+        labels: ['dynamic', 'ordered'],
57
+    }),
58
+    new Aspect({
59
+        name: 'precision',
60
+        labels: ['precise', 'resourceful'],
61
+    }),
62
+    new Aspect({
63
+        name: 'vision',
64
+        labels: ['visionary', 'implementer'],
65
+    }),
66
+    new Aspect({
67
+        name: 'focus',
68
+        labels: ['big picture', 'focused'],
69 69
     }),
70 70
     new Aspect({
71 71
         name: 'attention',

+ 1
- 1
frontend/src/services/survey.service.js Dosyayı Görüntüle

@@ -46,7 +46,7 @@ const scoreSurveyByProfileId = async (profileId, maxDistance = 99) => {
46 46
 }
47 47
 
48 48
 const fetchResponsesByProfileId = async profileId => {
49
-    return await db.get(`/profile/${profileId}/responses`) // TODO write on backend, does not exist
49
+    return await db.get(`/profile/${profileId}/responses`)
50 50
 }
51 51
 
52 52
 export {

Loading…
İptal
Kaydet