Skip to content

Commit

Permalink
implementing my code suggestions from review
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Sep 9, 2024
1 parent a501de3 commit 76118c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/vue/src/templates/www/PageHomepage/PageHomepage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,16 @@ export default defineComponent({
</template>

<!-- mission carousel -->
<template v-if="data?.missionsCarousel">
<template v-if="data?.missionsCarousel && data?.missionsCarousel[0]?.targets?.length">
<HomepageMissionsCarousel
v-if="data?.missionsCarousel[0]?.targets?.length"
:data="data.missionsCarousel[0]"
class="lg:my-18 my-10"
/>
</template>
<!-- featured robot -->
<template v-if="data?.featuredRobots">
<template v-if="data?.featuredRobots?.length">
<HomepageFeaturedRobot
v-if="data?.featuredRobots?.length"
class="lg:my-24 my-12"
:data="data.featuredRobots[0].page"
/>
Expand Down

0 comments on commit 76118c1

Please sign in to comment.