mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 11:01:54 +03:00
Fix impossible change person name (#1053)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
8b9b6a2f78
commit
d25cf50502
@ -28,8 +28,15 @@
|
||||
|
||||
export let object: Person
|
||||
|
||||
$: firstName = getFirstName(object.name)
|
||||
$: lastName = getLastName(object.name)
|
||||
let firstName = getFirstName(object.name)
|
||||
let lastName = getLastName(object.name)
|
||||
|
||||
$: setName(object)
|
||||
|
||||
function setName (object: Person) {
|
||||
firstName = getFirstName(object.name)
|
||||
lastName = getLastName(object.name)
|
||||
}
|
||||
|
||||
const client = getClient()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user