Skip to content

Commit

Permalink
hide map div if no map available
Browse files Browse the repository at this point in the history
  • Loading branch information
jkl204 committed Sep 22, 2016
1 parent 384f62b commit c26544a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/modules/markets/markets-show.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<button data-ui-sref="ttfm.markets.browse" class="cta tiny info">Back to map</button>
<div data-ng-if="vm.market.has_map" data-booth-map data-on-market-vendor-selected="vm.showMarketVendorOnList(marketVendor)" class="booth-map"></div>

<div class="vendors-panel">
<div ng-class="{'vendors-panel':vm.market.has_map}">
<p>
<strong>{{vm.market.name}}</strong><br/>
{{vm.market.address}}<br/>
Expand Down
1 change: 1 addition & 0 deletions frontend/app/scss/pages/_markets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
overflow-y: scroll;
}
}

0 comments on commit c26544a

Please sign in to comment.