aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_settings
diff options
context:
space:
mode:
authorlink0ff <juri@linkov.net>2018-12-12 22:00:04 +0200
committerlink0ff <juri@linkov.net>2018-12-12 22:00:04 +0200
commit33c2d21bb7ca21ed0e7358aac7721c48d13aa03c (patch)
treedef74b61fd91e19d595943317ae3399b5624c00b /src/components/user_settings
parent2077927ff3b2d9ddc255fe21635aa125cce5402d (diff)
Reset enableFollowsExport to true after 2 sec when an export file is available to download
Diffstat (limited to 'src/components/user_settings')
-rw-r--r--src/components/user_settings/user_settings.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js
index 761e674a..1712e64c 100644
--- a/src/components/user_settings/user_settings.js
+++ b/src/components/user_settings/user_settings.js
@@ -198,6 +198,7 @@ const UserSettings = {
.fetchFriends({id: this.$store.state.users.currentUser.id})
.then((friendList) => {
this.exportPeople(friendList, 'friends.csv')
+ setTimeout(() => { this.enableFollowsExport = true }, 2000)
})
},
followListChange () {