diff --git a/components/Block/Tier.vue b/components/Block/Tier.vue index 3ddde613..28d8fccd 100644 --- a/components/Block/Tier.vue +++ b/components/Block/Tier.vue @@ -8,22 +8,19 @@ const props = defineProps(); const { data: block } = useAsyncData(props.uuid, () => $directus.request( $readItem('block_tier', props.uuid, { - fields: ['name', 'subtext', 'price', 'term', 'term_tooltip', 'cta', 'description', 'points'], + fields: ['name', 'subtext', 'price', 'term', 'term_tooltip', 'cta', 'description', 'points', 'highlight'], }), ), ); - -const priceValue = computed(() => unref(block)?.price.split(' ')[0]); -const priceText = computed(() => unref(block)?.price.substring(unref(priceValue)?.length ?? 0));