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
148
Issues
148
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
819182ff
Commit
819182ff
authored
Feb 03, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor: checked -> defaultChecked to avoid react errors
parent
1d9bcf4a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
FacetsTable.purs
src/Gargantext/Components/FacetsTable.purs
+3
-1
Sidebar.purs
src/Gargantext/Components/GraphExplorer/Sidebar.purs
+1
-1
SearchField.purs
src/Gargantext/Components/Search/SearchField.purs
+4
-4
No files found.
src/Gargantext/Components/FacetsTable.purs
View file @
819182ff
...
...
@@ -343,7 +343,9 @@ pageCpt = R.hooksComponent "G.C.FacetsTable.Page" cpt
, maybeStricken delete [ H.text source ]
, maybeStricken delete [ H.text authors ]
-- , maybeStricken $ intercalate [comma] (pairUrl <$> pairs)
, H.input { type: "checkbox", checked: isChecked id, on: { click: toggleClick } }
, H.input { type: "checkbox"
, defaultChecked: isChecked id
, on: { click: toggleClick } }
]
, delete: true }
where
...
...
src/Gargantext/Components/GraphExplorer/Sidebar.purs
View file @
819182ff
...
...
@@ -114,7 +114,7 @@ sidebarCpt = R.hooksComponent "G.C.GE.S.sidebar" cpt
[ RH.span {} [ RH.text text ]
, RH.input { type: "checkbox"
, className: "checkbox"
,
c
hecked: true
,
defaultC
hecked: true
, title: "Mark as completed" } ]
removeButton text rType props nodesMap =
...
...
src/Gargantext/Components/Search/SearchField.purs
View file @
819182ff
...
...
@@ -120,10 +120,10 @@ searchFieldComponent = R.hooksComponent "G.C.S.SearchField" cpt
liCpt org =
H.li {}
[ H.input { type: "checkbox"
, c
hecked: isIn org search.datafield
, on: {
change: \_ -> (setSearch $ _ { datafield = updateFilter org search.datafield })
}
, defaultC
hecked: isIn org search.datafield
, on: {
change: \_ -> (setSearch $ _ { datafield = updateFilter org search.datafield })
}
}
, if org == All_IMT
then H.i {} [H.text $ " " <> show org]
...
...
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