Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85651184
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Aug 30, 1:05 PM (1 d, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1737998
Default Alt Text
(2 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment