mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 17:45:02 +02:00
UBERF-5017: show correct collaborators diff and dont send notification for collaborators changer (#4529)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -117,9 +117,9 @@ export async function isShouldNotify (
|
||||
)
|
||||
|
||||
const personAccount = await getPersonAccountById(user, control)
|
||||
const modifiedAccount = await getPersonAccountById(tx.modifiedBy, control)
|
||||
|
||||
for (const type of types) {
|
||||
const modifiedAccount = await getPersonAccountById(tx.modifiedBy, control)
|
||||
if (
|
||||
type.allowedForAuthor !== true &&
|
||||
(tx.modifiedBy === user ||
|
||||
|
||||
Reference in New Issue
Block a user