Commit 33c2d21b authored by link0ff's avatar link0ff

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

parent 2077927f
Pipeline #5259 passed with stages
in 3 minutes and 50 seconds
...@@ -198,6 +198,7 @@ const UserSettings = { ...@@ -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 () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment