fixes showing the filters panel when a layer is missing from the portal ...

Removed unused layer/showLayerByItsId
fixes 766