Merge branch 'issue-315-csv-export' into 'develop'

 - export all follows as CSV

See merge request 
This commit is contained in:
Shpuld Shpludson 2019-02-07 15:42:18 +00:00
commit 05ef0432d3
3 changed files with 16 additions and 1 deletions
src/components/user_settings

View file

@ -238,7 +238,9 @@ const UserSettings = {
exportFollows () {
this.enableFollowsExport = false
this.$store.state.api.backendInteractor
.fetchFriends({id: this.$store.state.users.currentUser.id})
.exportFriends({
id: this.$store.state.users.currentUser.id
})
.then((friendList) => {
this.exportPeople(friendList, 'friends.csv')
setTimeout(() => { this.enableFollowsExport = true }, 2000)