fix crash when editing profile
This commit is contained in:
parent
42cd240347
commit
bc70905d96
2 changed files with 4 additions and 4 deletions
|
|
@ -377,7 +377,7 @@ export default {
|
||||||
emojiUserSuggestor() {
|
emojiUserSuggestor() {
|
||||||
return suggestor({
|
return suggestor({
|
||||||
emoji: [
|
emoji: [
|
||||||
...this.$store.getters.standardEmojiList,
|
...useEmojiStore().standardEmojiList,
|
||||||
...useEmojiStore().customEmoji,
|
...useEmojiStore().customEmoji,
|
||||||
],
|
],
|
||||||
store: this.$store,
|
store: this.$store,
|
||||||
|
|
@ -386,7 +386,7 @@ export default {
|
||||||
emojiSuggestor() {
|
emojiSuggestor() {
|
||||||
return suggestor({
|
return suggestor({
|
||||||
emoji: [
|
emoji: [
|
||||||
...this.$store.getters.standardEmojiList,
|
...useEmojiStore().standardEmojiList,
|
||||||
...useEmojiStore().customEmoji,
|
...useEmojiStore().customEmoji,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -357,7 +357,7 @@
|
||||||
<RichContent
|
<RichContent
|
||||||
v-if="!hideBio"
|
v-if="!hideBio"
|
||||||
class="user-card-bio"
|
class="user-card-bio"
|
||||||
:class="{ '-justify-left': userCardLeftJustify }"
|
:class="{ '-justify-left': mergedConfig.userCardLeftJustify }"
|
||||||
:html="editable ? newBio.replace(/\n/g, '<br>') : user.description_html"
|
:html="editable ? newBio.replace(/\n/g, '<br>') : user.description_html"
|
||||||
:emoji="editable ? emoji : user.emoji"
|
:emoji="editable ? emoji : user.emoji"
|
||||||
:handle-links="true"
|
:handle-links="true"
|
||||||
|
|
@ -368,7 +368,7 @@
|
||||||
v-model="newBio"
|
v-model="newBio"
|
||||||
enable-emoji-picker
|
enable-emoji-picker
|
||||||
class="user-card-bio"
|
class="user-card-bio"
|
||||||
:class="{ '-justify-left': userCardLeftJustify }"
|
:class="{ '-justify-left': mergedConfig.userCardLeftJustify }"
|
||||||
:suggest="emojiUserSuggestor"
|
:suggest="emojiUserSuggestor"
|
||||||
>
|
>
|
||||||
<template #default="inputProps">
|
<template #default="inputProps">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue