Skip to content

Commit

Permalink
Add to DateCard. Remove action from DateDetail
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Aug 17, 2024
1 parent c0a89e7 commit 2605755
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 2 additions & 0 deletions src/components/DateCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
>
{{ dp.name }}
</v-chip>
<DateActionMenuButton :date="date" />
</v-card-text>
</v-card>
</template>
Expand All @@ -21,6 +22,7 @@ import utils from '../utils.js'
export default {
components: {
PriceCountChip: defineAsyncComponent(() => import('../components/PriceCountChip.vue')),
DateActionMenuButton: defineAsyncComponent(() => import('../components/DateActionMenuButton.vue')),
},
props: {
date: {
Expand Down
11 changes: 1 addition & 10 deletions src/views/DateDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@
</v-col>
</v-row>

<v-row class="mt-0">
<v-col cols="12">
<ShareLink display="button" />
</v-col>
</v-row>

<br>

<v-row>
<v-col>
<h2 class="text-h6 d-inline mr-2">
Expand Down Expand Up @@ -48,8 +40,7 @@ export default {
components: {
DateCard: defineAsyncComponent(() => import('../components/DateCard.vue')),
OrderMenu: defineAsyncComponent(() => import('../components/OrderMenu.vue')),
PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue')),
ShareLink: defineAsyncComponent(() => import('../components/ShareLink.vue'))
PriceCard: defineAsyncComponent(() => import('../components/PriceCard.vue'))
},
data() {
return {
Expand Down

0 comments on commit 2605755

Please sign in to comment.