Commit 175fcd4d authored by Alexandre Delanoë's avatar Alexandre Delanoë

[DOC] removing languages that are not supported for web crawl yet

parent aadd5449
Pipeline #3922 failed with stage
in 0 seconds
...@@ -429,7 +429,8 @@ type DatafieldInputProps = ...@@ -429,7 +429,8 @@ type DatafieldInputProps =
( databases :: Array Database ( databases :: Array Database
, langs :: Array Lang , langs :: Array Lang
, search :: T.Box Search , search :: T.Box Search
, session :: Session ) , session :: Session
)
datafieldInput :: R2.Component DatafieldInputProps datafieldInput :: R2.Component DatafieldInputProps
datafieldInput = R.createElement datafieldInputCpt datafieldInput = R.createElement datafieldInputCpt
...@@ -463,8 +464,14 @@ datafieldInputCpt = here.component "datafieldInput" cpt where ...@@ -463,8 +464,14 @@ datafieldInputCpt = here.component "datafieldInput" cpt where
else H.div {} [] else H.div {} []
, if needsLang search'.datafield , if needsLang search'.datafield
then langNav { langs, search } [] then
else H.div {} [] if search'.datafield == Just Web
then
langNav { langs:A.filter (\lang -> lang == FR) langs, search } []
else
langNav { langs, search } []
else
H.div {} []
, H.div {} [ searchIframes { iframeRef, search } [] ] , H.div {} [ searchIframes { iframeRef, search } [] ]
] ]
......
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