diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-01-15 20:22:54 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-01-15 20:22:54 +0000 |
| commit | 6bd6ec66bcc7d069bb6121228bbd26b35add0cd4 (patch) | |
| tree | 31cd4a216ebda88089bb0ef1e10ced78d9e1d945 /src/components/domain_mute_card/domain_mute_card.js | |
| parent | e3de2964cc5d7b822d3e71f02a7509f97add9ee8 (diff) | |
| parent | 7a013ac39392ef251c0789f27dd4660dcd30bd6d (diff) | |
Merge branch 'tae/pleroma-fe-663' into 'develop'
Implement domain mutes v2
See merge request pleroma/pleroma-fe!1045
Diffstat (limited to 'src/components/domain_mute_card/domain_mute_card.js')
| -rw-r--r-- | src/components/domain_mute_card/domain_mute_card.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/domain_mute_card/domain_mute_card.js b/src/components/domain_mute_card/domain_mute_card.js new file mode 100644 index 00000000..c8e838ba --- /dev/null +++ b/src/components/domain_mute_card/domain_mute_card.js @@ -0,0 +1,15 @@ +import ProgressButton from '../progress_button/progress_button.vue' + +const DomainMuteCard = { + props: ['domain'], + components: { + ProgressButton + }, + methods: { + unmuteDomain () { + return this.$store.dispatch('unmuteDomain', this.domain) + } + } +} + +export default DomainMuteCard |
