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/workflowengine/src/components/Event.vue | |
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/workflowengine/src/components/Event.vue')
-rw-r--r-- | apps/workflowengine/src/components/Event.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/workflowengine/src/components/Event.vue b/apps/workflowengine/src/components/Event.vue index aeabf151427..e18ed2f2d49 100644 --- a/apps/workflowengine/src/components/Event.vue +++ b/apps/workflowengine/src/components/Event.vue @@ -28,6 +28,7 @@ <script> import { Multiselect } from '@nextcloud/vue/dist/Components/Multiselect' +import { showWarning } from '@nextcloud/dialogs' export default { name: 'Event', @@ -57,7 +58,7 @@ export default { methods: { updateEvent(events) { if (events.length === 0) { - window.OCP.Toast.warning(t('workflowengine', 'At least one event must be selected')) + showWarning(t('workflowengine', 'At least one event must be selected')) return } const existingEntity = this.rule.entity |