diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index d73503bc..5169d7bb 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -131,6 +131,10 @@ const expiresInDefaultOptionIndex = 2 const scheduleDateTime = ref('') +watchEffect(() => { + draft.value.params.scheduledAt = scheduleDateTime.value +}) + const characterCount = computed(() => { const text = htmlToText(editor.value?.getHTML() || '')