Reset enableFollowsExport to true after 2 sec when an export file is available to download

This commit is contained in:
link0ff 2018-12-12 22:00:04 +02:00
parent 2077927ff3
commit 33c2d21bb7

View file

@ -198,6 +198,7 @@ const UserSettings = {
.fetchFriends({id: this.$store.state.users.currentUser.id}) .fetchFriends({id: this.$store.state.users.currentUser.id})
.then((friendList) => { .then((friendList) => {
this.exportPeople(friendList, 'friends.csv') this.exportPeople(friendList, 'friends.csv')
setTimeout(() => { this.enableFollowsExport = true }, 2000)
}) })
}, },
followListChange () { followListChange () {