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