Skip to content

Commit

Permalink
Always display preview button
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 24, 2023
1 parent 3c8f487 commit 12381ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion console/src/modules/contents/pages/SinglePageEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ const handlePreview = async () => {
@select="handleChangeEditorProvider"
/>
<VButton
v-if="isUpdateMode"
size="sm"
type="default"
:loading="previewPending"
Expand Down
1 change: 0 additions & 1 deletion console/src/modules/contents/posts/PostEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ const handlePreview = async () => {
@select="handleChangeEditorProvider"
/>
<VButton
v-if="isUpdateMode"
size="sm"
type="default"
:loading="previewPending"
Expand Down

0 comments on commit 12381ff

Please sign in to comment.