mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-03 00:43:59 +03:00
Uberf 4373 default contact department (#4303)
* fix random value on undefined field value Signed-off-by: Sergey Voytsehovich <syargreg@gmail.com> * formatting Signed-off-by: Sergey Voytsehovich <syargreg@gmail.com> * removed presenter selection on undef Signed-off-by: Sergey Voytsehovich <syargreg@gmail.com> * formatting Signed-off-by: Sergey Voytsehovich <syargreg@gmail.com> --------- Signed-off-by: Sergey Voytsehovich <syargreg@gmail.com>
This commit is contained in:
parent
6097575d65
commit
acd80be4df
@ -37,7 +37,7 @@
|
||||
const docQuery = createQuery()
|
||||
let doc: Doc | undefined
|
||||
|
||||
$: if (value === undefined && _class != null) {
|
||||
$: if (value === undefined && _class != null && objectId != null) {
|
||||
docQuery.query(_class, { _id: objectId }, (r) => {
|
||||
doc = r.shift()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user