This commit is contained in:
Adina Țeudan 2021-10-19 22:14:46 +03:00
parent bf0f573f1d
commit 110c72cae1

View File

@ -95,6 +95,7 @@ export class FileActionService {
) {
const userIds = this._getUserIds(mode);
if (userIds.length === 1 || (userIds.includes(this._userService.currentUser.id) && mode === 'approver')) {
$event.stopPropagation();
const userId = userIds.length === 1 ? userIds[0] : this._userService.currentUser.id;
this._assignFile(userId, mode, [file]).then(async () => {
if (callback) {