@@ -113,7 +105,7 @@ nodeMainSpan d p folderOpen session frontends = R.createElement el p []
E.preventDefault e
E.stopPropagation e
blob <- R2.dataTransferFileBlob e
void $ runAff (\_ -> pure unit) do
void $ launchAff do
contents <- readAsText blob
liftEffect $ setDroppedFile
$ const
...
...
@@ -357,7 +349,7 @@ panelAction d {id, name, nodeType, action, session, search} p = case action of
(Just (Documentation x)) -> fragmentPT $ "More information on" <> show nodeType
(Just (Link _)) -> fragmentPT "Soon, you will be able to link the corpus with your Annuaire (and reciprocally)."
(Just Upload) -> uploadFileView d {id, mFileType: Nothing}
(Just Upload) -> uploadFileView d {session, id}
(Just Download) -> fragmentPT "Soon, you will be able to dowload your file here"
(Just SearchBox) -> R.fragment [ H.p {"style": {"margin" :"10px"}} [ H.text $ "Search and create a private corpus with the search query as corpus name." ]