mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-24 06:43:16 +03:00
Resolve merge conflicts
Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
parent
af614b71f6
commit
f747500d1c
@ -6,13 +6,11 @@
|
|||||||
export let value: CardDate
|
export let value: CardDate
|
||||||
export let isInline: boolean = false
|
export let isInline: boolean = false
|
||||||
|
|
||||||
const client = getClient()
|
let isChecked = value?.isChecked
|
||||||
const { date } = value
|
|
||||||
let isChecked = date?.isChecked
|
|
||||||
const dispatch = createEventDispatcher()
|
const dispatch = createEventDispatcher()
|
||||||
|
|
||||||
function check () {
|
function check () {
|
||||||
if (isInline || isChecked === undefined || date === undefined) return
|
if (isInline || isChecked === undefined || !value) return
|
||||||
dispatch('update', { ...value, isChecked })
|
dispatch('update', { ...value, isChecked })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user