forked from filipg/gonito
Fix anchoring when viewing output
This commit is contained in:
parent
863650d686
commit
c028e4b6cc
@ -247,8 +247,9 @@ crossTableDefinition variantId (TableWithValues (headerH : headerR) _) = mempty
|
|||||||
++ Table.text headerH fst
|
++ Table.text headerH fst
|
||||||
++ mconcat (map (\(ix, h) -> linkedWithAnchor h
|
++ mconcat (map (\(ix, h) -> linkedWithAnchor h
|
||||||
(snd . (!! ix) . snd)
|
(snd . (!! ix) . snd)
|
||||||
((\(e, _) -> ViewVariantTestR variantId (entityKey e)) . (!! ix) . snd)) $ zip [0..] headerR)
|
((\(e, _) -> ViewVariantTestR variantId (entityKey e)) . (!! ix) . snd)
|
||||||
fst
|
(("worst-items-" <>) . testName . entityVal . fst . (!! ix) . snd))
|
||||||
|
$ zip [0..] headerR)
|
||||||
crossTableDefinition _ _ = error $ "cross-tab of an unexpected size"
|
crossTableDefinition _ _ = error $ "cross-tab of an unexpected size"
|
||||||
|
|
||||||
crossTableBody :: TableWithValues (Entity Test, Text) -> [(Text, [(Entity Test, Text)])]
|
crossTableBody :: TableWithValues (Entity Test, Text) -> [(Text, [(Entity Test, Text)])]
|
||||||
|
Loading…
Reference in New Issue
Block a user