chore(ui): publish widget using computed ref without `.value` inside computed (#2816)

zio/stable
Joaquín Sánchez 2024-04-14 18:17:16 +02:00 committed by GitHub
parent c1f8e3efb5
commit f78ce97f05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ const isExceedingCharacterLimit = computed(() => {
return characterCount.value > characterLimit.value
})
const postLanguageDisplay = computed(() => languagesNameList.find(i => i.code === (draft.value.params.language || preferredLanguage))?.nativeName)
const postLanguageDisplay = computed(() => languagesNameList.find(i => i.code === (draft.value.params.language || preferredLanguage.value))?.nativeName)
const isDM = computed(() => draft.value.params.visibility === 'direct')