mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 05:55:09 +02:00
Card fixes (#8433)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -113,6 +113,7 @@ async function OnAttributeRemove (ctx: TxRemoveDoc<AnyAttribute>[], control: Tri
|
||||
|
||||
async function OnMasterTagRemove (ctx: TxUpdateDoc<MasterTag>[], control: TriggerControl): Promise<Tx[]> {
|
||||
const updateTx = ctx[0]
|
||||
if (updateTx.space === core.space.DerivedTx) return []
|
||||
if (updateTx.operations.removed !== true) return []
|
||||
const res: Tx[] = []
|
||||
const desc = control.hierarchy.getDescendants(updateTx.objectId)
|
||||
|
||||
Reference in New Issue
Block a user