We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f07d489 commit 0fd13b6Copy full SHA for 0fd13b6
pages/collections/la-rebellion/filmmakers/index.vue
@@ -126,11 +126,18 @@ const parsedFilmmakerListings = computed(() => {
126
if (currentList.value.length === 0) return []
127
128
return currentList.value.map((obj) => {
129
+ let filmmakerDescription
130
+
131
+ if (!isMobile.value) {
132
+ filmmakerDescription = obj._source.richText
133
+ } else {
134
+ filmmakerDescription = null
135
+ }
136
137
return {
- ...obj._source,
138
to: `/${obj._source.uri}`,
139
title: obj._source.title,
- description: obj._source.richText,
140
+ description: filmmakerDescription,
141
image: parseImage(obj),
142
}
143
})
0 commit comments