|
@@ -104,7 +104,7 @@ module.exports = app => {
|
|
|
if (!stage.readOnly) stage.assist = ass;
|
|
|
}
|
|
|
if (stage.readOnly) {
|
|
|
- stage.assist = accountId === stage.user_id || auditorIds.indexOf(accountId) >= 0
|
|
|
+ stage.assist = accountId === stage.user_id || stage.auditorIds.indexOf(accountId) >= 0
|
|
|
? null
|
|
|
: stage.assists.find(x => { return x.ass_user_id === accountId});
|
|
|
}
|