RED-2485
This commit is contained in:
parent
476f6090e4
commit
a2de1fd392
@ -94,8 +94,8 @@ export class FileActionService {
|
||||
ignoreChanged = false,
|
||||
) {
|
||||
const userIds = this._getUserIds(mode);
|
||||
if (userIds.length === 1 || (userIds.includes(this._userService.currentUser.id) && mode === 'approver')) {
|
||||
$event.stopPropagation();
|
||||
if (userIds.length === 1 || userIds.includes(this._userService.currentUser.id)) {
|
||||
$event?.stopPropagation(); // event$ is null when called from workflow view
|
||||
const userId = userIds.length === 1 ? userIds[0] : this._userService.currentUser.id;
|
||||
this._assignFile(userId, mode, [file]).then(async () => {
|
||||
if (callback) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user