diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index ffb41269..86a04b42 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -63,6 +63,10 @@ async function pickAttachments() { await uploadAttachments(files) } +async function toggleSensitive() { + draft.params.sensitive = !draft.params.sensitive +} + async function uploadAttachments(files: File[]) { isUploading = true for (const file of files) { @@ -137,6 +141,16 @@ onUnmounted(() => { border="2 dashed transparent" p-1 :class="[isSending ? 'pointer-events-none' : '', isOverDropZone ? '!border-primary' : '']" > +