mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 08:20:39 +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>
|
</script>
|
||||||
|
|
||||||
{#if value}
|
{#if value && value.value}
|
||||||
<span
|
<span
|
||||||
class="issuePresenterRoot flex-row-center"
|
class="issuePresenterRoot flex-row-center"
|
||||||
on:click={editSpendReport}
|
on:click={editSpendReport}
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
const data = {
|
const data = {
|
||||||
date: value?.date ?? Date.now(),
|
date: value?.date ?? Date.now(),
|
||||||
description: value?.description ?? '',
|
description: value?.description ?? '',
|
||||||
value: value?.value,
|
value: value?.value ?? 0,
|
||||||
employee: value?.employee ?? assignee ?? null
|
employee: value?.employee ?? assignee ?? null
|
||||||
}
|
}
|
||||||
async function create (): Promise<void> {
|
async function create (): Promise<void> {
|
||||||
|
Loading…
Reference in New Issue
Block a user