mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
Notification fix (#3274)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
bfaa2b00e5
commit
e347c8a1ce
@ -601,6 +601,7 @@ async function updateCollaboratorsMixin (
|
|||||||
originTx: TxCUD<Doc>
|
originTx: TxCUD<Doc>
|
||||||
): Promise<Tx[]> {
|
): Promise<Tx[]> {
|
||||||
if (tx._class !== core.class.TxMixin) return []
|
if (tx._class !== core.class.TxMixin) return []
|
||||||
|
if (originTx.space === core.space.DerivedTx) return []
|
||||||
if (!control.hierarchy.isDerived(tx.mixin, notification.mixin.Collaborators)) return []
|
if (!control.hierarchy.isDerived(tx.mixin, notification.mixin.Collaborators)) return []
|
||||||
const res: Tx[] = []
|
const res: Tx[] = []
|
||||||
if (tx.attributes.collaborators !== undefined) {
|
if (tx.attributes.collaborators !== undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user