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 91c665a commit d2b180fCopy full SHA for d2b180f
src/project/types/website/listing/website-listing-read.ts
@@ -1123,7 +1123,7 @@ async function listItemFromFile(
1123
descriptionPlaceholder(inputTarget?.outputHref, maxDescLength);
1124
1125
const imageRaw = documentMeta?.image as string | boolean;
1126
- const image = imageRaw !== undefined && typeof imageRaw === "string"
+ const image = imageRaw && typeof imageRaw === "string"
1127
? pathWithForwardSlashes(
1128
listingItemHref(imageRaw, dirname(projectRelativePath)),
1129
)
0 commit comments