Skip to content
Snippets Groups Projects
Commit 96a3cc24 authored by stuebinm's avatar stuebinm
Browse files

quick badge bugfix

obviously, it should remove all objects defining badges, not those NOT
defining badges …
parent 8082e9ef
No related branches found
Tags v0.1.2
No related merge requests found
Pipeline #10021 passed
......@@ -197,7 +197,7 @@ checkLayer = do
-- all objects which don't define badges
publicObjects <- askContext <&>
fmap (V.filter (`containsProperty` "getBadge")) . layerObjects
fmap (V.filter (not . (`containsProperty` "getBadge"))) . layerObjects
-- remove badges from output
adjust $ \l -> l { layerObjects = publicObjects
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment