mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 05:53:09 +03:00
default null
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
a978d4e1e4
commit
9643017591
@ -101,7 +101,7 @@ export class MemDb extends TxProcessor {
|
||||
let result: Doc[]
|
||||
if (
|
||||
Object.prototype.hasOwnProperty.call(query, '_id') &&
|
||||
(typeof query._id === 'string' || query._id?.$in !== undefined || query._id === undefined)
|
||||
(typeof query._id === 'string' || query._id?.$in !== undefined || query._id === undefined || query._id === null)
|
||||
) {
|
||||
result = this.getByIdQuery(query, _class)
|
||||
} else {
|
||||
|
@ -29,8 +29,8 @@
|
||||
import contact from '@anticrm/contact'
|
||||
|
||||
export let space: Ref<Space>
|
||||
export let candidate: Ref<Person>
|
||||
export let employee: Ref<Employee>
|
||||
export let candidate: Ref<Person> | null = null
|
||||
export let employee: Ref<Employee> | null = null
|
||||
|
||||
export let preserveCandidate = false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user