diff --git a/webapp/components/Editor/Editor.vue b/webapp/components/Editor/Editor.vue
index 1d9c41129..4413bfa0d 100644
--- a/webapp/components/Editor/Editor.vue
+++ b/webapp/components/Editor/Editor.vue
@@ -491,8 +491,6 @@ export default {
// we have to replace our suggestion text with a mention
// so it's important to pass also the position of your suggestion text
selectItem(item) {
- const searchUrl = new URL('/')
- searchUrl.searchParams.set('hashtag', item.name)
const typeAttrs = {
mention: {
// TODO: use router here
@@ -501,7 +499,7 @@ export default {
},
hashtag: {
// TODO: Fill up with input hashtag in search field
- url: searchUrl.href,
+ url: `/search/hashtag/${item.name}`,
label: item.name,
},
}
diff --git a/webapp/components/FilterMenu/FilterMenu.vue b/webapp/components/FilterMenu/FilterMenu.vue
index 2640cfead..9bfb3ddba 100644
--- a/webapp/components/FilterMenu/FilterMenu.vue
+++ b/webapp/components/FilterMenu/FilterMenu.vue
@@ -49,7 +49,7 @@
export default {
props: {
user: { type: Object, required: true },
- hashtag: { type: String, default: null },
+ hashtag: { type: Object, default: null },
},
data() {
return {
diff --git a/webapp/pages/search/hashtag/_id.vue b/webapp/pages/search/hashtag/_id.vue
new file mode 100644
index 000000000..d180b4e4f
--- /dev/null
+++ b/webapp/pages/search/hashtag/_id.vue
@@ -0,0 +1,12 @@
+
+
+
+
+