mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fixed linting errors
This commit is contained in:
parent
0ffbe567c7
commit
ff303fccd3
@ -31,7 +31,7 @@
|
||||
name="delete"
|
||||
@click="handleDeleteSocialMedia(link)"
|
||||
>
|
||||
<ds-icon name="trash"/>
|
||||
<ds-icon name="trash" />
|
||||
</a>
|
||||
</ds-list-item>
|
||||
</ds-list>
|
||||
@ -116,7 +116,7 @@ export default {
|
||||
})
|
||||
.then(() => {
|
||||
this.$toast.success(this.$t('settings.social-media.successAdd')),
|
||||
(this.value = '')
|
||||
(this.value = '')
|
||||
})
|
||||
.catch(error => {
|
||||
this.$toast.error(error.message)
|
||||
@ -137,7 +137,9 @@ export default {
|
||||
id: link.id
|
||||
},
|
||||
update: (store, { data }) => {
|
||||
const socialMedia = this.currentUser.socialMedia.filter(element => element.id !== link.id )
|
||||
const socialMedia = this.currentUser.socialMedia.filter(
|
||||
element => element.id !== link.id
|
||||
)
|
||||
this.setCurrentUser({
|
||||
...this.currentUser,
|
||||
socialMedia
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user