Compare commits

..

No commits in common. "8fa81f1f76ecd2663786ca916efaef5486cdac38" and "3a317a03d3ec5994360c735d110edc231c1ce414" have entirely different histories.

1 changed files with 1 additions and 8 deletions

View File

@ -208,15 +208,8 @@ export default {
}, },
methods: { methods: {
getWfOptions() { getWfOptions() {
let permissions = this.$TOOL.data.get("PERMISSIONS");
this.$API.wf.workflow.list.req({ page: 0 }).then((res) => { this.$API.wf.workflow.list.req({ page: 0 }).then((res) => {
let wfOptions = []; this.wfOptions = res;
res.forEach((item) => {
if(item.key && permissions.includes(item.key)) {
wfOptions.push(item)
}
})
this.wfOptions = wfOptions;
}); });
}, },
reStart(row) { reStart(row) {