Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
pleroma-fe
Merge requests
!1103
Autocomplete domain mutes from list of known instances
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Autocomplete domain mutes from list of known instances
feature/autocomplete-domain-mutes
into
develop
Overview
2
Commits
1
Pipelines
5
Changes
8
1 unresolved thread
Hide all comments
Merged
Sergey Suprunenko
requested to merge
feature/autocomplete-domain-mutes
into
develop
4 years ago
Overview
2
Commits
1
Pipelines
5
Changes
8
1 unresolved thread
Hide all comments
Expand
Resolves
#824 (closed)
0
0
Merge request reports
Viewing commit
7c3ce81e
Show latest version
8 files
+
71
−
21
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
Verified
7c3ce81e
Autocomplete domain mutes from list of known instances
· 7c3ce81e
Sergey Suprunenko
authored
4 years ago
src/components/domain_mute_card/domain_mute_card.js
+
11
−
0
Options
@@ -5,9 +5,20 @@ const DomainMuteCard = {
components
:
{
ProgressButton
},
computed
:
{
user
()
{
return
this
.
$store
.
state
.
users
.
currentUser
},
muted
()
{
return
this
.
user
.
domainMutes
.
includes
(
this
.
domain
)
}
},
methods
:
{
unmuteDomain
()
{
return
this
.
$store
.
dispatch
(
'
unmuteDomain
'
,
this
.
domain
)
},
muteDomain
()
{
return
this
.
$store
.
dispatch
(
'
muteDomain
'
,
this
.
domain
)
}
}
}
Loading