diff options
| author | aka <aka@social.sakamoto.gq> | 2018-05-18 07:34:36 -0300 |
|---|---|---|
| committer | aka <aka@social.sakamoto.gq> | 2018-05-18 07:34:36 -0300 |
| commit | 3c525d6a3b4a815bd600261298d08a4ac6deaa35 (patch) | |
| tree | ca60ad77e378e8c227543779b4d43728f89a35f3 /src | |
| parent | fed87815833bfb847be192b79782f3edca99cf5f (diff) | |
use es6 notation for exportFollows
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/user_settings/user_settings.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js index 2c08b2f8..708d1988 100644 --- a/src/components/user_settings/user_settings.js +++ b/src/components/user_settings/user_settings.js @@ -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 |
