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.
2 parents 3d4cbfe + d28a6f7 commit 9f3dd48Copy full SHA for 9f3dd48
src/blocks/helpers/page-icon.vue
@@ -15,7 +15,7 @@ export default {
15
</script>
16
17
<template>
18
- <div :class="[format.page_cover && 'notion-page-icon-offset', big ? 'notion-page-icon-cover' : 'notion-page-icon']">
+ <div :class="[format?.page_cover && 'notion-page-icon-offset', big ? 'notion-page-icon-cover' : 'notion-page-icon']">
19
<img
20
v-if="icon?.includes('http')"
21
:src="props.mapImageUrl(icon, block)"
0 commit comments