fix(task): use editor as preview first, then check for edit
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2023-10-22 22:47:52 +02:00
parent 2eac17ed57
commit 5f2787e18d
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

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>