summaryrefslogtreecommitdiffstats
path: root/src/components/Settings
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-11-13 21:40:18 +0100
committerGeorg Ehrke <developer@georgehrke.com>2018-11-13 21:40:18 +0100
commit07dded3e09414bdd4c2ff495d9f8ddafcad31590 (patch)
tree7c6c46dfd338bb10a5fdc1ad36c79a0042fc3a79 /src/components/Settings
parent94fe3afbdc9f72e563e168fcd0cd7a75de6e25c6 (diff)
actually display Copied label for 2 seconds
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'src/components/Settings')
-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)
})
}
}