diff --git a/webapp/pages/settings/my-social-media.vue b/webapp/pages/settings/my-social-media.vue
index 07d981a76..334d21770 100644
--- a/webapp/pages/settings/my-social-media.vue
+++ b/webapp/pages/settings/my-social-media.vue
@@ -23,11 +23,17 @@
margin-top="base"
margin="x-small"
>
-
-
![]()
+
@@ -38,7 +44,7 @@ import { mapGetters } from 'vuex'
export default {
props: {
- socialMedia: {
+ socialMediaIconUrl: {
type: Array,
default: () => []
}
@@ -66,9 +72,12 @@ export default {
url: this.value
}
})
- .then(() =>
- this.$toast.success(this.$t('settings.social-media.success'))
+ .then(
+ response => (this.socialMediaIconUrl = response.data.addSocialMedia)
)
+ .finally(() => {
+ this.$toast.success(this.$t('settings.social-media.success'))
+ })
}
}
}