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
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
purescript-gargantext
Commits
17b10bb7
Commit
17b10bb7
authored
Feb 16, 2021
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ngrams score] fix refresh when sorting by score
parent
d6d237c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
DocsTable.purs
src/Gargantext/Components/DocsTable.purs
+6
-1
Score.purs
src/Gargantext/Components/Score.purs
+1
-0
No files found.
src/Gargantext/Components/DocsTable.purs
View file @
17b10bb7
...
@@ -405,7 +405,12 @@ pagePaintRawCpt = R.hooksComponentWithModule thisModule "pagePaintRawCpt" cpt wh
...
@@ -405,7 +405,12 @@ pagePaintRawCpt = R.hooksComponentWithModule thisModule "pagePaintRawCpt" cpt wh
]
]
, H.div { className: tClassName } [ H.text $ if r.source == "" then "Source" else r.source ]
, H.div { className: tClassName } [ H.text $ if r.source == "" then "Source" else r.source ]
-- , H.div {} [ H.text $ maybe "-" show r.score ]
-- , H.div {} [ H.text $ maybe "-" show r.score ]
, H.div { className: tClassName } [ GCS.scoreEl { docId: r._id, nodeId, score: r.score, session, tableReload: reload } [] ]
, H.div { className: tClassName } [ GCS.scoreEl { docId: r._id
, key: show nodeId <> "-" <> show r._id
, nodeId
, score: r.score
, session
, tableReload: reload } [] ]
]
]
, delete: true }
, delete: true }
where
where
...
...
src/Gargantext/Components/Score.purs
View file @
17b10bb7
...
@@ -26,6 +26,7 @@ thisModule = "Gargantext.Components.Score"
...
@@ -26,6 +26,7 @@ thisModule = "Gargantext.Components.Score"
type Props = (
type Props = (
docId ::DocID
docId ::DocID
, key :: String
, nodeId :: GT.NodeID
, nodeId :: GT.NodeID
, score :: Maybe Score
, score :: Maybe Score
, session :: Session
, session :: Session
...
...
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