We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 022c385 commit 454a22dCopy full SHA for 454a22d
src/runtime/internal/preview/index.ts
@@ -271,6 +271,7 @@ export function initIframeCommunication() {
271
const { collection } = getCollectionByRoutePath(routePath, collections)
272
if (!collection || collection.type !== 'page') {
273
window.sendNavigateMessageInPreview(routePath, false)
274
+ return
275
}
276
277
const db = loadDatabaseAdapter(collection.name)
0 commit comments