Skip to content

Commit

Permalink
a few more field name fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Aug 14, 2024
1 parent 9a7f78e commit 91c356e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/vue/src/components/BaseTimer/BaseTimer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<script lang="ts">
import type { PropType } from 'vue'
import { defineComponent } from 'vue'
import dayjs, { Dayjs } from 'dayjs'
import dayjs, { type Dayjs } from 'dayjs'
import duration, { type Duration } from 'dayjs/plugin/duration'
import minMax from 'dayjs/plugin/minMax'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export const BaseStory = {
args: {
data: {
block: [],
body: 'How Earth satellites including the JPL-managed Topex/Poseidon are helping researchers track the movements and behaviors of sea lions and seals to keep them from extinction.',
videoDetailBody:
'How Earth satellites including the JPL-managed Topex/Poseidon are helping researchers track the movements and behaviors of sea lions and seals to keep them from extinction.',
firstPublishedAt: '2001-12-03T08:00:00+00:00',
id: '6723',
label: 'Video',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
:content="data.thumbnailImage.original"
/>
<meta
v-if="data.summary || data.body"
v-if="data.summary || data.videoDetailBody"
itemprop="description"
:content="data.summary || data.body"
:content="data.summary || data.videoDetailBody"
/>
<div class="lg:container 3xl:px-0 lg:mt-12 px-5 mx-auto mt-5">
<DetailHeadline
Expand Down Expand Up @@ -58,10 +58,10 @@
<LayoutHelper indent="col-2">
<div class="lg:grid grid-cols-10">
<div
v-if="data.body"
v-if="data.videoDetailBody"
class="col-span-7"
>
<BlockText :text="data.body" />
<BlockText :text="data.videoDetailBody" />
<hr class="border-gray-light-mid lg:my-8 my-5" />
<div
v-if="data.transcript"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const BaseStory = {
publicationDate: '2012-07-05T20:04:21+00:00',
title: 'Milky Way',
topicLabel: 'Stars and Galaxies',
description:
descriptionString:
'<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec lobortis lorem non purus consequat rutrum. Nulla vel convallis urna, eu porta purus. In hendrerit odio id diam volutpat auctor. Curabitur imperdiet dolor ipsum, quis luctus quam hendrerit eu. Quisque gravida lacus velit, a tempor dolor facilisis interdum. Sed pharetra mi eget feugiat bibendum. Donec vel nisi non nisi ultrices pellentesque eget non massa. Proin hendrerit sodales auctor. Phasellus egestas tortor eget ullamcorper tempor. Cras quis mauris erat. Curabitur tempor quam eget tellus aliquam semper. Morbi fringilla sodales dapibus. Proin pellentesque turpis eu neque pretium, in sodales sem auctor.</p>'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
>
<div class="lg:grid grid-cols-10">
<div
v-if="data.description"
v-if="data.descriptionString"
class="col-span-7"
>
<BlockText :text="data.description" />
<BlockText :text="data.descriptionString" />
</div>
<aside class="col-start-9 col-end-11">
<div class="lg:pt-0 pt-8 mb-12">
Expand Down

0 comments on commit 91c356e

Please sign in to comment.