Skip to content

Commit

Permalink
Merge pull request #455 from edmcouncil/454-docker-doesnt-build-properly
Browse files Browse the repository at this point in the history
Docker doesn't build properly
  • Loading branch information
mereolog authored Mar 21, 2024
2 parents 43cfc23 + d8241b9 commit 1f7eafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const { data } = await useAsyncData('getAbout', () => {
return getStrapiSingleType(singleTypeName, populateParams, runtimeConfig);
});
const page = data?.value?.data?.attributes?.sections;
const description = prepareDescription(page[0]?.text_content ?? '');
const description = prepareDescription(page?.[0]?.text_content ?? '');
</script>
<style lang="scss" scoped>
Expand Down

0 comments on commit 1f7eafa

Please sign in to comment.