Browse Source

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

Skylsmoi 5 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,4 +1,4 @@
1 1
 .idea/
2
-frontend/dist/app/html-document.app.js
2
+frontend/dist/app/
3 3
 frontend_app_html-document/dist/html-document.app.js
4 4
 frontend_lib/dist/tracim_frontend_lib.js

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

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