feat(status): mention user
This commit is contained in:
parent
0587f5f994
commit
53cf994ffd
5 changed files with 60 additions and 32 deletions
|
@ -1,5 +1,13 @@
|
|||
<script setup lang="ts">
|
||||
function openDialog() {
|
||||
if (dialogDraft.draft.value.editingStatus)
|
||||
openPublishDialog(getDefaultDraft())
|
||||
else openPublishDialog()
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<button btn-outline rounded-full font-bold py4 flex="~ gap2 center" @click="openPublishDialog">
|
||||
<button btn-outline rounded-full font-bold py4 flex="~ gap2 center" @click="openDialog">
|
||||
<div i-ri:quill-pen-line />
|
||||
Compose
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue