Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-02-07 13:02:45 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-06 18:19:57 +0300
commit8119e0b18ef4438e7da1279332a960ce8f749835 (patch)
tree0ef2e67d2c7adc8a90af9226f279608f3a61ab7e /apps/workflowengine/src
parent01a70e5d0f6f369fefd510379994e7f465289421 (diff)
Inline usages of OCP.Toast in bundled files
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/workflowengine/src')
-rw-r--r--apps/workflowengine/src/components/Event.vue3
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