(website/client/src/components/settings/site.vue): Fix refresh the de-register social media buttons. (#11992)

This commit is contained in:
Bence László 2020-03-23 17:49:00 +01:00 committed by GitHub
parent 9dcce382a3
commit 5cf6a67a36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -833,6 +833,7 @@ export default {
},
async deleteSocialAuth (network) {
await axios.delete(`/api/v4/user/auth/social/${network.key}`);
this.user.auth[network.key] = {};
this.text(this.$t('detachedSocial', { network: network.name }));
},
async socialAuth (network) {