From 33c2d21bb7ca21ed0e7358aac7721c48d13aa03c Mon Sep 17 00:00:00 2001 From: link0ff Date: Wed, 12 Dec 2018 22:00:04 +0200 Subject: [PATCH] Reset enableFollowsExport to true after 2 sec when an export file is available to download --- src/components/user_settings/user_settings.js | 1 + 1 file changed, 1 insertion(+) 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 () {