Skip to content

Commit

Permalink
Refine frontend
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <i@ryanc.cc>
  • Loading branch information
ruibaby committed May 23, 2023
1 parent 51b730a commit 3c8f487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion console/src/modules/contents/pages/SinglePageEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ const handlePreview = async () => {
<UrlPreviewModal
v-if="isUpdateMode"
v-model:visible="previewModal"
title="Preview"
:title="formState.page.spec.title"
:url="`/preview/singlepages/${formState.page.metadata.name}`"
/>

Expand Down
2 changes: 1 addition & 1 deletion console/src/modules/contents/posts/PostEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ const handlePreview = async () => {
<UrlPreviewModal
v-if="isUpdateMode"
v-model:visible="previewModal"
title="Preview"
:title="formState.post.spec.title"
:url="`/preview/posts/${formState.post.metadata.name}`"
/>

Expand Down

0 comments on commit 3c8f487

Please sign in to comment.