File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
pages/collections/la-rebellion/filmmakers Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -126,17 +126,24 @@ const parsedFilmmakerListings = computed(() => {
126
126
if (currentList .value .length === 0 ) return []
127
127
128
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
+
129
137
return {
130
- ... obj ._source ,
131
138
to: ` /${ obj ._source .uri } ` ,
132
139
title: obj ._source .title ,
133
- description: obj . _source . richText ,
140
+ description: filmmakerDescription ,
134
141
image: parseImage (obj),
135
142
}
136
143
})
137
144
})
138
145
139
- const pageClass = computed (() => {
146
+ const pageClasses = computed (() => {
140
147
return [' page' , ' page-filmmakers' ]
141
148
})
142
149
@@ -145,7 +152,7 @@ const pageClass = computed(() => {
145
152
< template>
146
153
< main
147
154
id= " main"
148
- : class = " pageClass "
155
+ : class = " pageClasses "
149
156
>
150
157
< div class = " one-column" >
151
158
< NavBreadcrumb data- test= " breadcrumb" / >
You can’t perform that action at this time.
0 commit comments