diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-06-10 11:18:30 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-06-10 11:18:30 +0000 |
| commit | 4e3ce18703bddb138e31de63c83460d757717a3b (patch) | |
| tree | 46e48a78ad2d249337ae581264f5bd862ae48539 /src/components/domain_mute_card/domain_mute_card.vue | |
| parent | 23b742491390d2f797199fd26b10e0be7b8cfc49 (diff) | |
| parent | 10070394780ac79e9ee1e8548500586a1f78f65b (diff) | |
Merge branch 'feature/autocomplete-domain-mutes' into 'develop'
Autocomplete domain mutes from list of known instances
Closes #824
See merge request pleroma/pleroma-fe!1103
Diffstat (limited to 'src/components/domain_mute_card/domain_mute_card.vue')
| -rw-r--r-- | src/components/domain_mute_card/domain_mute_card.vue | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/domain_mute_card/domain_mute_card.vue b/src/components/domain_mute_card/domain_mute_card.vue index 567d81c5..97aee243 100644 --- a/src/components/domain_mute_card/domain_mute_card.vue +++ b/src/components/domain_mute_card/domain_mute_card.vue @@ -4,6 +4,7 @@ {{ domain }} </div> <ProgressButton + v-if="muted" :click="unmuteDomain" class="btn btn-default" > @@ -12,6 +13,16 @@ {{ $t('domain_mute_card.unmute_progress') }} </template> </ProgressButton> + <ProgressButton + v-else + :click="muteDomain" + class="btn btn-default" + > + {{ $t('domain_mute_card.mute') }} + <template slot="progress"> + {{ $t('domain_mute_card.mute_progress') }} + </template> + </ProgressButton> </div> </template> @@ -34,5 +45,9 @@ button { width: 10em; } + + .autosuggest-results & { + padding-left: 1em; + } } </style> |
