Merge pull request #349 from hcengineering/social-links

fixes social links cleared
This commit is contained in:
Andrey Sobolev
2021-11-24 01:14:09 +07:00
committed by GitHub
@@ -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() {