-
+
{{ $t('editor.hashtag.addHashtag') }}
-
- #{{ query }}
-
+
#{{ query }}
@@ -40,9 +38,7 @@
{{ $t('editor.hashtag.addHashtag') }}
-
- #{{ query }}
-
+
#{{ query }}
@@ -455,7 +451,7 @@ export default {
// For hashtags handles pressing of space.
spaceHandler() {
if (this.suggestionType === this.hashtagSuggestionType && this.query !== '') {
- this.selectItem({ name: this.query })
+ this.selectItem({ id: this.query })
}
},
// we have to replace our suggestion text with a mention
@@ -467,8 +463,8 @@ export default {
label: item.slug,
},
hashtag: {
- id: item.name,
- label: item.name,
+ id: item.id,
+ label: item.id,
},
}
this.insertMentionOrHashtag({
diff --git a/webapp/components/PostCard/PostCard.story.js b/webapp/components/PostCard/PostCard.story.js
index 8d7691c22..7cd579140 100644
--- a/webapp/components/PostCard/PostCard.story.js
+++ b/webapp/components/PostCard/PostCard.story.js
@@ -24,7 +24,7 @@ const post = {
deleted: false,
contributionsCount: 25,
shoutedCount: 5,
- commentsCount: 39,
+ commentedCount: 39,
followedByCount: 2,
followedByCurrentUser: true,
location: null,
@@ -38,7 +38,7 @@ const post = {
],
__typename: 'User',
},
- commentsCount: 12,
+ commentedCount: 12,
categories: [],
shoutedCount: 421,
__typename: 'Post',
diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue
index 3e104c7a4..c77b810fa 100644
--- a/webapp/components/PostCard/index.vue
+++ b/webapp/components/PostCard/index.vue
@@ -44,25 +44,25 @@