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
30143611
Commit
30143611
authored
Mar 01, 2022
by
Karen Konou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UserInfo] Post to correct id on update
parent
a1ec877b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
User.purs
src/Gargantext/Components/Nodes/Annuaire/User.purs
+2
-1
No files found.
src/Gargantext/Components/Nodes/Annuaire/User.purs
View file @
30143611
...
@@ -127,7 +127,8 @@ userLayoutWithKeyCpt = here.component "userLayoutWithKey" cpt where
...
@@ -127,7 +127,8 @@ userLayoutWithKeyCpt = here.component "userLayoutWithKey" cpt where
onUpdateUserInfo :: T.Box (Array FrontendError) -> T2.ReloadS -> UserInfo -> Effect Unit
onUpdateUserInfo :: T.Box (Array FrontendError) -> T2.ReloadS -> UserInfo -> Effect Unit
onUpdateUserInfo errors reload ui = do
onUpdateUserInfo errors reload ui = do
launchAff_ $ do
launchAff_ $ do
res <- saveUserInfo session nodeId ui
let Session {userId} = session
res <- saveUserInfo session userId ui
handleRESTError errors res $ \_ ->
handleRESTError errors res $ \_ ->
liftEffect $ T2.reload reload
liftEffect $ T2.reload reload
...
...
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