mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 12:47:45 +02:00
@@ -688,7 +688,10 @@ async function getNewCollaborators (
|
||||
if (ops.$push !== undefined) {
|
||||
for (const key in ops.$push) {
|
||||
if (mixin.fields.includes(key)) {
|
||||
const value = (ops.$push as any)[key]
|
||||
let value = (ops.$push as any)[key]
|
||||
if (typeof value !== 'string') {
|
||||
value = value.$each
|
||||
}
|
||||
const newCollabs = await getKeyCollaborators(doc, value, key, control)
|
||||
if (newCollabs !== undefined) {
|
||||
for (const newCollab of newCollabs) {
|
||||
|
||||
Reference in New Issue
Block a user