diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-09-25 06:41:26 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-09-25 06:41:26 +0000 |
| commit | ccba92a27cc96d6db9b28d456f6fff6cb6804a52 (patch) | |
| tree | 8feebac1047612171e06eeb7093f1fb600b22665 /src/components/post_status_form | |
| parent | 61bb02ef0631b534e1a80a3b08f0e27c1a1c8e66 (diff) | |
| parent | c8a18f387c28d5f895c1e727b0d040da96dcebc1 (diff) | |
Merge branch '639-2' into 'develop'
Add "Mention user" button to user card
Closes #639
See merge request pleroma/pleroma-fe!955
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 40bbf6d4..dc4b419c 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -8,7 +8,7 @@ import fileTypeService from '../../services/file_type/file_type.service.js' import { reject, map, uniqBy } from 'lodash' import suggestor from '../emoji-input/suggestor.js' -const buildMentionsString = ({ user, attentions }, currentUser) => { +const buildMentionsString = ({ user, attentions = [] }, currentUser) => { let allAttentions = [...attentions] allAttentions.unshift(user) |
