Skip to content

Commit

Permalink
chore(ui): publish widget using computed ref without .value inside …
Browse files Browse the repository at this point in the history
…computed (#2816)
  • Loading branch information
userquin authored Apr 14, 2024
1 parent c1f8e3e commit f78ce97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/publish/PublishWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit f78ce97

Please sign in to comment.