fix(task): use editor as preview first, then check for edit
This commit is contained in:
parent
2eac17ed57
commit
5f2787e18d
@ -25,7 +25,7 @@
|
|||||||
v-model="task.description"
|
v-model="task.description"
|
||||||
@update:model-value="saveWithDelay"
|
@update:model-value="saveWithDelay"
|
||||||
@save="save"
|
@save="save"
|
||||||
:initial-mode="task.description === '' ? 'edit' : 'preview'"
|
:initial-mode="task.description !== '' ? 'preview' : 'edit'"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user