diff --git a/admin/src/api/post/content-types/post/lifecycles.js b/admin/src/api/post/content-types/post/lifecycles.js index d12ba54..c6ba2c4 100644 --- a/admin/src/api/post/content-types/post/lifecycles.js +++ b/admin/src/api/post/content-types/post/lifecycles.js @@ -271,7 +271,7 @@ async function generatePreview(event) { -webkit-box-orient:vertical; " > - ${data.title || ""} + ${data?.title || ""}

- ${data.description || ""} + ${data?.description || ""}

@@ -302,14 +302,14 @@ async function generatePreview(event) { text-overflow: ellipsis; " > - ${data.domain || ""} + ${data?.domain || ""}