use es6 notation for exportFollows

This commit is contained in:
aka 2018-05-18 07:34:36 -03:00
parent fed8781583
commit 3c525d6a3b
1 changed files with 2 additions and 2 deletions

View File

@ -165,9 +165,9 @@ const UserSettings = {
this.enableFollowsExport = false
this.$store.state.api.backendInteractor
.fetchFriends({id: this.$store.state.users.currentUser.id})
.then(function (friendList) {
.then((friendList) => {
this.exportPeople(friendList, 'friends.csv')
}.bind(this))
})
},
followListChange () {
// eslint-disable-next-line no-undef