fixes #348 - social links

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-11-23 14:59:41 +01:00
parent 5e807d466a
commit 112093f0de
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0

View File

@ -52,8 +52,10 @@
const dispatch = createEventDispatcher()
function saveChannels(result: any) {
object.channels = result
client.updateDoc(recruit.class.Candidate, object.space, object._id, { channels: result })
if (result !== undefined) {
object.channels = result
client.updateDoc(recruit.class.Candidate, object.space, object._id, { channels: result })
}
}
function firstNameChange() {