Resolve merge conflicts

Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
Anna No 2022-04-19 22:17:21 +07:00
parent af614b71f6
commit f747500d1c
No known key found for this signature in database
GPG Key ID: 08C11FFC23177C87

View File

@ -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 })
} }