summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-11-13 21:46:46 +0100
committerGitHub <noreply@github.com>2018-11-13 21:46:46 +0100
commiteea85da4cad5a76f4b09a4d7534b5b1eb6513f81 (patch)
tree7c6c46dfd338bb10a5fdc1ad36c79a0042fc3a79
parent94fe3afbdc9f72e563e168fcd0cd7a75de6e25c6 (diff)
parent07dded3e09414bdd4c2ff495d9f8ddafcad31590 (diff)
Merge pull request #719 from nextcloud/bugfix/noid/show_copied_label
actually display Copied label for 2 seconds
-rw-r--r--src/components/Settings/SettingsAddressbook.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/Settings/SettingsAddressbook.vue b/src/components/Settings/SettingsAddressbook.vue
index ad51c967..7ea727df 100644
--- a/src/components/Settings/SettingsAddressbook.vue
+++ b/src/components/Settings/SettingsAddressbook.vue
@@ -238,9 +238,11 @@ export default {
this.copied = true
OC.Notification.showTemporary(t('contacts', 'Addressbook was not copied to clipboard.'))
}).then(() => {
- // stop loading status regardless of outcome
this.copyLoading = false
- this.copied = false
+ setTimeout(() => {
+ // stop loading status regardless of outcome
+ this.copied = false
+ }, 2000)
})
}
}