Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 3357315

Browse files
authored
Merge pull request #615 from FlowzPlatform/issue-594-n3
permission-fixes
2 parents b86ff91 + c5f5038 commit 3357315

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/src/components/permission.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</h3>
1111
</Row>
1212
<Row>
13-
<Table :loading="tableLoading" :columns="columns" :data="data" border></Table>
13+
<Table :loading="tableLoading" :columns="columns" :data="data" border></Table>
1414
</Row>
1515
<Row style="padding: 5px 0">
1616
<Button :loading="buttonLoading" type="primary" @click="handleSave">Save</Button>
@@ -78,8 +78,8 @@ export default {
7878
for (let proc in sortedArray) {
7979
if (sortedArray[proc].type !== 'startevent' && sortedArray[proc].type !== 'endevent') {
8080
let mdata = {
81-
state: sortedArray[proc].name || proc,
82-
_state: proc
81+
state: sortedArray[proc].name || sortedArray[proc].id,
82+
_state: sortedArray[proc].id
8383
}
8484
for (let ent of schemaRes.data.entity) {
8585
if (sortedArray[proc].hasOwnProperty('permission') && sortedArray[proc].permission[ent.name] !== undefined) {

0 commit comments

Comments
 (0)