fix(task): use editor as preview first, then check for edit

This commit is contained in:
kolaente 2023-10-22 22:47:52 +02:00
parent 2eac17ed57
commit 5f2787e18d
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -25,7 +25,7 @@
v-model="task.description"
@update:model-value="saveWithDelay"
@save="save"
:initial-mode="task.description === '' ? 'edit' : 'preview'"
:initial-mode="task.description !== '' ? 'preview' : 'edit'"
/>
</div>
</template>