Skip to content

Commit fd24e92

Browse files
committed
feat: clear quote when hitting cancel
1 parent 97f08b6 commit fd24e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/layout/Editor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export default {
250250
const canModerate = () => true
251251
const canCreatePoll = () => true
252252
const cancel = () => {
253-
if (props.postEditorMode && props.post) closeEditor()
253+
if (props.postEditorMode && (props.post || props.quote)) closeEditor()
254254
else emit('close')
255255
}
256256
const closeEditor = () => {

0 commit comments

Comments
 (0)