mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-15 21:03:30 +00:00
Fix edit event members update (#1495)
Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
parent
9c16e864d5
commit
fb27551a6f
@ -62,13 +62,16 @@
|
||||
_class={contact.class.Employee}
|
||||
items={object.participants}
|
||||
label={calendar.string.Participants}
|
||||
noItems={calendar.string.NoParticipants}
|
||||
on:open={(evt) => {
|
||||
client.update(object, { $push: { participants: evt.detail._id } })
|
||||
}}
|
||||
on:delete={(evt) => {
|
||||
client.update(object, { $pull: { participants: evt.detail._id } })
|
||||
}}
|
||||
noItems={calendar.string.NoParticipants}
|
||||
on:update={(evt) => {
|
||||
client.update(object, { participants: evt.detail })
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user