in filtering out invisible template modules, we
were also filtering out real collapsed modules
when initializing the broccoli clouds
test plan:
- collapse a module with items
- refresh the page
- expand the module
- the publish icons should be visible and functional
fixes CNVS-19986
Change-Id: Idb8fd21135e4adc6e9149f04a59b150b10ff796f
Reviewed-on: https://gerrit.instructure.com/52834
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>