Browse Source

fixed thread mock data to match author with loggedUser

Skylsmoi 7 years ago
parent
commit
eff4d4e192
1 changed files with 9 additions and 9 deletions
  1. 9 9
      jsonserver/static_db.json

+ 9 - 9
jsonserver/static_db.json View File

@@ -25,37 +25,37 @@
25 25
     "name": "PageHtml",
26 26
     "componentLeft": "PageHtml",
27 27
     "componentRight": "Timeline",
28
-    "customClass": "wsFilePageHtml",
28
+    "customClass": "wsContentPageHtml",
29 29
     "icon": "fa fa-file-word-o"
30 30
   }, {
31 31
     "name": "PageMarkdown",
32 32
     "componentLeft": "PageMarkdown",
33 33
     "componentRight": "undefined",
34
-    "customClass": "wsFilePageMarkdown",
34
+    "customClass": "wsContentPageMarkdown",
35 35
     "icon": "fa fa-file-code-o"
36 36
   }, {
37 37
     "name": "File",
38 38
     "componentLeft": "File",
39 39
     "componentRight": "undefined",
40
-    "customClass": "wsFileFile",
40
+    "customClass": "wsContentFile",
41 41
     "icon": "fa fa-file-text-o"
42 42
   }, {
43 43
     "name": "Thread",
44 44
     "componentLeft": "Thread",
45 45
     "componentRight": "undefined",
46
-    "customClass": "wsFileThread",
46
+    "customClass": "wsContentThread",
47 47
     "icon": "fa fa-comments-o"
48 48
   }, {
49 49
     "name": "Task",
50 50
     "componentLeft": "Task",
51 51
     "componentRight": "undefined",
52
-    "customClass": "wsFileTask",
52
+    "customClass": "wsContentTask",
53 53
     "icon": "fa fa-list-ul"
54 54
   }, {
55 55
     "name": "Issue",
56 56
     "componentLeft": "Issue",
57 57
     "componentRight": "undefined",
58
-    "customClass": "wsFileIssue",
58
+    "customClass": "wsContentIssue",
59 59
     "icon": "fa fa-ticket"
60 60
   }],
61 61
   "workspace_detail": {
@@ -188,7 +188,7 @@
188 188
     "message_list": [{
189 189
       "id": 0,
190 190
       "author": {
191
-        "id": 2,
191
+        "id": 5,
192 192
         "username": "Peter",
193 193
         "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
194 194
       },
@@ -212,7 +212,7 @@
212 212
     }, {
213 213
       "id": 2,
214 214
       "author": {
215
-        "id": 2,
215
+        "id": 5,
216 216
         "username": "Peter",
217 217
         "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
218 218
       },
@@ -236,7 +236,7 @@
236 236
     }, {
237 237
       "id": 4,
238 238
       "author": {
239
-        "id": 2,
239
+        "id": 5,
240 240
         "username": "Peter",
241 241
         "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
242 242
       },