mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +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[]
|
let result: Doc[]
|
||||||
if (
|
if (
|
||||||
Object.prototype.hasOwnProperty.call(query, '_id') &&
|
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)
|
result = this.getByIdQuery(query, _class)
|
||||||
} else {
|
} else {
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
import contact from '@anticrm/contact'
|
import contact from '@anticrm/contact'
|
||||||
|
|
||||||
export let space: Ref<Space>
|
export let space: Ref<Space>
|
||||||
export let candidate: Ref<Person>
|
export let candidate: Ref<Person> | null = null
|
||||||
export let employee: Ref<Employee>
|
export let employee: Ref<Employee> | null = null
|
||||||
|
|
||||||
export let preserveCandidate = false
|
export let preserveCandidate = false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user