Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
admin-fe
Commits
1448ef4a
Commit
1448ef4a
authored
5 years ago
by
feld
Browse files
Options
Downloads
Plain Diff
Merge branch 'filterable-peers' into 'develop'
Make instance list searchable See merge request
pleroma/admin-fe!78
parents
f01efc17
629cdfb6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!78
Make instance list searchable
Pipeline
#21979
passed
5 years ago
Stage: lint
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/store/getters.js
+3
-1
3 additions, 1 deletion
src/store/getters.js
src/store/modules/peers.js
+1
-1
1 addition, 1 deletion
src/store/modules/peers.js
with
4 additions
and
2 deletions
src/store/getters.js
+
3
−
1
View file @
1448ef4a
...
...
@@ -17,6 +17,8 @@ const getters = {
errorLogs
:
state
=>
state
.
errorLog
.
logs
,
users
:
state
=>
state
.
users
.
fetchedUsers
,
authHost
:
state
=>
state
.
user
.
authHost
,
settings
:
state
=>
state
.
settings
settings
:
state
=>
state
.
settings
,
instances
:
state
=>
state
.
peers
.
fetchedPeers
,
statuses
:
state
=>
state
.
status
.
fetchedStatuses
}
export
default
getters
This diff is collapsed.
Click to expand it.
src/store/modules/peers.js
+
1
−
1
View file @
1448ef4a
...
...
@@ -19,7 +19,7 @@ const peers = {
async
FetchPeers
({
commit
,
getters
})
{
const
peers
=
await
fetchPeers
(
getters
.
authHost
,
getters
.
token
)
commit
(
'
SET_PEERS
'
,
peers
.
data
)
commit
(
'
SET_PEERS
'
,
[...
peers
.
data
].
sort
()
)
commit
(
'
SET_LOADING
'
,
false
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment