mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
Fix reporting null time (#2362)
Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
This commit is contained in:
parent
bf406ef066
commit
bfd120b887
@ -48,7 +48,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if value}
|
||||
{#if value && value.value}
|
||||
<span
|
||||
class="issuePresenterRoot flex-row-center"
|
||||
on:click={editSpendReport}
|
||||
|
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user