Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
83b85e8a
Verified
Commit
83b85e8a
authored
Mar 06, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tasks] insert async task when performing documents from write nodes
parent
c5a31f92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Tree.purs
src/Gargantext/Components/Forest/Tree.purs
+4
-2
No files found.
src/Gargantext/Components/Forest/Tree.purs
View file @
83b85e8a
...
...
@@ -384,9 +384,11 @@ linkNode nodeType params p@{ boxes: { errors }, session } = traverse_ f params w
handleRESTError errors eTask $ \_task -> pure unit
refreshTree p
documentsFromWriteNodes params p@{ boxes: { errors
}, session
} = do
documentsFromWriteNodes params p@{ boxes: { errors
, tasks }, session, tree: NTree (LNode { id }) _
} = do
eTask <- documentsFromWriteNodesReq session params
handleRESTError errors eTask $ \_task -> pure unit
handleRESTError errors eTask $ \task -> liftEffect $ do
GAT.insert id task tasks
pure unit
refreshTree p
-- | This thing is basically a hangover from when garg was a thermite
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment