aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/workflowengine.js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-09-09 13:53:03 +0200
committerJulius Härtl <jus@bitgrid.net>2019-09-10 09:01:26 +0200
commit24aec9b9d27378ab19ebe028f46f26bcf0a1b901 (patch)
tree783cb0114aa8f52b980f1cedc3facf4926b75381 /apps/workflowengine/src/workflowengine.js
parent0b6706225b27a9953868fdd8d2d3344c0b71048b (diff)
downloadnextcloud-server-24aec9b9d27378ab19ebe028f46f26bcf0a1b901.tar.gz
nextcloud-server-24aec9b9d27378ab19ebe028f46f26bcf0a1b901.zip
Frontend polishing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/src/workflowengine.js')
-rw-r--r--apps/workflowengine/src/workflowengine.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/apps/workflowengine/src/workflowengine.js b/apps/workflowengine/src/workflowengine.js
index 149f9d4aa85..2eb8161fc87 100644
--- a/apps/workflowengine/src/workflowengine.js
+++ b/apps/workflowengine/src/workflowengine.js
@@ -61,29 +61,6 @@ window.OCA.WorkflowEngine = Object.assign({}, OCA.WorkflowEngine, {
// Register shipped checks
ShippedChecks.forEach((checkPlugin) => window.OCA.WorkflowEngine.registerCheck(checkPlugin))
-/**
- * FIXME: remove before merge as this is for UI testing only
- */
-const demo = [
- {
- id: 'OCA\\TestExample\\Operation1',
- name: 'Convert to PDF',
- description: 'Convert a file to PDF using Libreoffice',
- iconClass: 'icon-convert-pdf',
- color: 'var(--color-success)',
- operation: 'deny'
- },
- {
- id: 'OCA\\TestExample\\Operation2',
- name: 'Notify me',
- description: 'Send a Nextcloud Notification',
- iconClass: 'icon-comment-white',
- color: 'var(--color-warning)',
- operation: 'deny'
- }
-]
-demo.forEach((operatorPlugin) => window.OCA.WorkflowEngine.registerOperator(operatorPlugin))
-
Vue.use(Vuex)
Vue.prototype.t = t