diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-02-07 11:02:45 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-06 17:19:57 +0200 |
commit | 8119e0b18ef4438e7da1279332a960ce8f749835 (patch) | |
tree | 0ef2e67d2c7adc8a90af9226f279608f3a61ab7e /apps/files/src | |
parent | 01a70e5d0f6f369fefd510379994e7f465289421 (diff) | |
download | nextcloud-server-8119e0b18ef4438e7da1279332a960ce8f749835.tar.gz nextcloud-server-8119e0b18ef4438e7da1279332a960ce8f749835.zip |
Inline usages of OCP.Toast in bundled files
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/components/TransferOwnershipDialogue.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/src/components/TransferOwnershipDialogue.vue b/apps/files/src/components/TransferOwnershipDialogue.vue index 22fe1942687..1dc9db33433 100644 --- a/apps/files/src/components/TransferOwnershipDialogue.vue +++ b/apps/files/src/components/TransferOwnershipDialogue.vue @@ -70,7 +70,7 @@ import axios from '@nextcloud/axios' import debounce from 'debounce' import { generateOcsUrl } from '@nextcloud/router' -import { getFilePickerBuilder } from '@nextcloud/dialogs' +import { getFilePickerBuilder, showSuccess } from '@nextcloud/dialogs' import { Multiselect } from '@nextcloud/vue/dist/Components/Multiselect' import Vue from 'vue' @@ -210,7 +210,7 @@ export default { this.directory = undefined this.selectedUser = null - OCP.Toast.success(t('files', 'Ownership transfer request sent')) + showSuccess(t('files', 'Ownership transfer request sent')) }) .catch(error => { logger.error('Could not send ownership transfer request', { error }) |