Restrict work item list to admin only
This commit is contained in:
1 parent
53a4df55a2
commit
f64c48fba6
4 files changed
+36
-5
No files matched your search
@@ -106,6 +106,7 @@ export class Activity extends React.Component {
|
||||
this.setState({
|
||||
binder: new FormBinder(
|
||||
{
|
||||
...this.state.binder.getOriginalFieldValues(),
|
||||
workItem: workItem._id,
|
||||
team: api.loggedInUser.team,
|
||||
},
|
||||
@@ -143,7 +144,7 @@ export class Activity extends React.Component {
|
||||
binder: new FormBinder(activity, Activity.bindings),
|
||||
})
|
||||
|
||||
getWorkItem(activity.workItemId)
|
||||
return getWorkItem(activity.workItem)
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in new issue
Block a user