mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 11:47:42 +02:00
Fix query clone respect mixins (#1631)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
import presentation, { createQuery, getClient } from '@anticrm/presentation'
|
||||
import { Button, Grid, Icon, Label, ToggleWithLabel } from '@anticrm/ui'
|
||||
import notification from '../plugin'
|
||||
import justClone from 'just-clone'
|
||||
|
||||
const accountId = getCurrentAccount()._id
|
||||
const typeQuery = createQuery()
|
||||
@@ -42,7 +41,7 @@
|
||||
providersQuery.query(notification.class.NotificationProvider, {}, (res) => (providers = res))
|
||||
settingsQuery.query(notification.class.NotificationSetting, { space }, (res) => {
|
||||
settings = convertToMap(res)
|
||||
oldSettings = convertToMap(justClone(res))
|
||||
oldSettings = convertToMap(client.getHierarchy().clone(res))
|
||||
})
|
||||
|
||||
function convertToMap (
|
||||
|
||||
Reference in New Issue
Block a user