Skip to content

Commit

Permalink
Minor search UI update
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyberkovitz committed May 6, 2020
1 parent 9ed9b4e commit 907601d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spring/src/main/js/reservdjs/src/views/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,12 @@
<md-list-item>
<div class="md-list-item-text">
<span>{{results[restId][0].getRestaurant().getId()}} -
{{results[restId][0].getRestaurant().getName()}}</span>
{{results[restId][0].getRestaurant().getName()}} - <span style="color: slategray;"
v-if="gotLocation">
{{compDist(results[restId][0].getRestaurant())}} miles</span></span>
<span>{{getCategory(results[restId][0].getRestaurant().getCategory().getCategory())
}}</span>
<md-button style="width:150px;color:#448aff;" class="bold md-primary" v-on:click="view(restId)">View Restaurant</md-button>
<span
v-if="gotLocation">
{{compDist(results[restId][0].getRestaurant())}} miles</span>
<div>
<md-button v-for="(time) in results[restId]" :key="time.getAvailabledate()"
style="width:150px;color:#448aff;" class="bold md-primary"
Expand Down

0 comments on commit 907601d

Please sign in to comment.