Hide quote input field after publishing post
This commit is contained in:
parent
023bdb2a5f
commit
c9edb92a7a
1 changed files with 3 additions and 2 deletions
|
@ -162,7 +162,7 @@ let attachments = $ref<Attachment[]>([])
|
|||
let quote = $ref<string | null>(null)
|
||||
let visibility = $ref(Visibility.Public)
|
||||
|
||||
const quoteInputVisible = $ref(false)
|
||||
let quoteInputVisible = $ref(false)
|
||||
let visibilityMenuVisible = $ref(false)
|
||||
let isLoading = $ref(false)
|
||||
let errorMessage = $ref<string | null>(null)
|
||||
|
@ -272,6 +272,7 @@ async function publish() {
|
|||
content = ""
|
||||
attachments = []
|
||||
quote = null
|
||||
quoteInputVisible = false
|
||||
if (postFormContentRef) {
|
||||
await nextTick()
|
||||
triggerResize(postFormContentRef)
|
||||
|
|
Loading…
Reference in a new issue