-
-
Save rthbound/7f6d320182692dca97c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@panels = @servicelist.map do |service| | |
if service[:hidden] == "true" | |
nil | |
else | |
{ | |
title: service[:title], | |
panel_name: __method__.to_s, | |
icon: service[:logo], | |
query_string: {}, | |
id: service[:id] | |
} | |
end | |
end.compact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment