Browse Source

ignored frontend/dist/app/ + fixed param for post new content

Skylsmoi 6 years ago
parent
commit
75dfe88d74
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .gitignore
  2. 1 1
      frontend/src/appFactory.js

+ 1 - 1
.gitignore View File

1
 .idea/
1
 .idea/
2
-frontend/dist/app/html-document.app.js
2
+frontend/dist/app/
3
 frontend_app_html-document/dist/html-document.app.js
3
 frontend_app_html-document/dist/html-document.app.js
4
 frontend_lib/dist/tracim_frontend_lib.js
4
 frontend_lib/dist/tracim_frontend_lib.js

+ 1 - 1
frontend/src/appFactory.js View File

25
         apiHeader: FETCH_CONFIG.headers // should this be used by app ? right now, apps have their own headers
25
         apiHeader: FETCH_CONFIG.headers // should this be used by app ? right now, apps have their own headers
26
       },
26
       },
27
       idWorkspace,
27
       idWorkspace,
28
-      idFolder
28
+      idFolder: idFolder === 'null' ? null : idFolder
29
     })
29
     })
30
 
30
 
31
     emitEventApp = (type, data) => GLOBAL_dispatchEvent({ type, data })
31
     emitEventApp = (type, data) => GLOBAL_dispatchEvent({ type, data })