Page MenuHomePhorge

No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None
diff --git a/src/components/chat_new/chat_new.js b/src/components/chat_new/chat_new.js
index 1e26d24fb8..92adf379ea 100644
--- a/src/components/chat_new/chat_new.js
+++ b/src/components/chat_new/chat_new.js
@@ -5,6 +5,7 @@ import UserAvatar from 'src/components/user_avatar/user_avatar.vue'
import { useOAuthStore } from 'src/stores/oauth.js'
import { useUsersStore } from 'src/stores/users.js'
+import { useSearchStore } from 'src/stores/search.js'
import { chats } from 'src/api/chats.js'
@@ -71,7 +72,7 @@ const chatNew = {
this.loading = true
this.userIds = []
this.$store
- this.useSearchStore()
+ useSearchStore()
.search({ q: query, resolve: true, type: 'accounts' })
.then((data) => {
this.loading = false
diff --git a/src/components/lists_user_search/lists_user_search.js b/src/components/lists_user_search/lists_user_search.js
index 5ac6e679ab..3c3f54bdfd 100644
--- a/src/components/lists_user_search/lists_user_search.js
+++ b/src/components/lists_user_search/lists_user_search.js
@@ -4,6 +4,7 @@ import Checkbox from 'src/components/checkbox/checkbox.vue'
import { library } from '@fortawesome/fontawesome-svg-core'
import { faChevronLeft, faSearch } from '@fortawesome/free-solid-svg-icons'
+import { useSearchStore } from 'src/stores/search.js'
library.add(faSearch, faChevronLeft)
@@ -32,7 +33,7 @@ const ListsUserSearch = {
this.loading = true
this.$emit('loading')
this.userIds = []
- this.useSearchStore()
+ useSearchStore()
.search({
q: query,
resolve: true,
diff --git a/src/components/quote/quote_form.js b/src/components/quote/quote_form.js
index 61abf743b3..700119be8c 100644
--- a/src/components/quote/quote_form.js
+++ b/src/components/quote/quote_form.js
@@ -4,6 +4,7 @@ import Checkbox from 'src/components/checkbox/checkbox.vue'
import Quote from './quote.vue'
import { useInstanceStore } from 'src/stores/instance.js'
+import { useSearchStore } from 'src/stores/search.js'
export default {
components: {
@@ -93,7 +94,7 @@ export default {
this.$emit('update:id', notice[3])
} else if (value) {
this.loading = true
- this.useSearchStore()
+ useSearchStore()
.search({
q: value,
resolve: true,

File Metadata

Mime Type
text/x-diff
Expires
Sun, Aug 30, 1:05 PM (23 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1737998
Default Alt Text
(2 KB)

Event Timeline