diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-11-18 20:33:59 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-12-03 01:09:27 +0000 |
commit | 7c943c5ce477afcec26bc0b8f25eb19c13963d74 (patch) | |
tree | 08ca1ad4501f43dc911d06760ef98f222929e415 /apps/files_sharing/src/components/SharingEntryLink.vue | |
parent | 835f0ae4decbcdae4ed7439bffd53fcdb0ee9614 (diff) | |
download | nextcloud-server-7c943c5ce477afcec26bc0b8f25eb19c13963d74.tar.gz nextcloud-server-7c943c5ce477afcec26bc0b8f25eb19c13963d74.zip |
Show success on share actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryLink.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index a736299b9d4..930bae849c2 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -300,7 +300,7 @@ <script> import { generateUrl } from '@nextcloud/router' -import { showError } from '@nextcloud/dialogs' +import { showError, showSuccess } from '@nextcloud/dialogs' import { Type as ShareTypes } from '@nextcloud/sharing' import Vue from 'vue' @@ -774,6 +774,7 @@ export default { if (typeof this.share.newLabel === 'string') { this.share.label = this.share.newLabel this.$delete(this.share, 'newLabel') + showSuccess(t('files_sharing', 'Share label saved')) this.queueUpdate('label') } }, @@ -840,6 +841,7 @@ export default { onPasswordSubmit() { if (this.hasUnsavedPassword) { this.share.password = this.share.newPassword.trim() + showSuccess(t('files_sharing', 'Share password saved')) this.queueUpdate('password') } }, |