Commit 1c3298a6 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[WIP] #358 when the query matches exaclty, user should not be able to add the...

[WIP] #358 when the query matches exaclty, user should not be able to add the new ngrams (which is the query)
parent 6df4143f
......@@ -127,6 +127,7 @@ tableContainerCpt { dispatch
R2.row [ H.div {className: "col-md-2", style: {marginTop: "6px"}}
[ H.div {} syncResetButton
, if A.null props.tableBody && searchQuery /= "" then
-- , if (not $ Set.member (normNgram tabNgramType searchQuery) ngramsSelection) && searchQuery /= "" then
H.li { className: "list-group-item" } [
H.button { className: "btn btn-primary"
, on: { click: const $ dispatch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment