Fix reporting null time (#2362)

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
This commit is contained in:
Ruslan Bayandinov 2022-11-08 16:22:02 +07:00 committed by GitHub
parent bf406ef066
commit bfd120b887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
}
</script>
{#if value}
{#if value && value.value}
<span
class="issuePresenterRoot flex-row-center"
on:click={editSpendReport}

View File

@ -36,7 +36,7 @@
const data = {
date: value?.date ?? Date.now(),
description: value?.description ?? '',
value: value?.value,
value: value?.value ?? 0,
employee: value?.employee ?? assignee ?? null
}
async function create (): Promise<void> {