From c5f5038bcacfcfc2296d5d2809ce0de935859944 Mon Sep 17 00:00:00 2001 From: nikitam Date: Tue, 9 Oct 2018 15:34:00 +0530 Subject: [PATCH] permission-fixes --- client/src/components/permission.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/permission.vue b/client/src/components/permission.vue index 783d012..2865a6f 100644 --- a/client/src/components/permission.vue +++ b/client/src/components/permission.vue @@ -10,7 +10,7 @@ -
+
@@ -78,8 +78,8 @@ export default { for (let proc in sortedArray) { if (sortedArray[proc].type !== 'startevent' && sortedArray[proc].type !== 'endevent') { let mdata = { - state: sortedArray[proc].name || proc, - _state: proc + state: sortedArray[proc].name || sortedArray[proc].id, + _state: sortedArray[proc].id } for (let ent of schemaRes.data.entity) { if (sortedArray[proc].hasOwnProperty('permission') && sortedArray[proc].permission[ent.name] !== undefined) {