refactor: separate dialog and edit drafts
This commit is contained in:
parent
7f7eccdd07
commit
b8cadca717
5 changed files with 12 additions and 13 deletions
|
@ -1,8 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
function openDialog() {
|
||||
if (dialogDraft.draft.value.editingStatus)
|
||||
openPublishDialog(getDefaultDraft())
|
||||
else openPublishDialog()
|
||||
openPublishDialog()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue