mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 19:44:57 +02:00
UBER-1144: Fixed estimation time representation used when creating issue and issue template (#4139)
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
import { EditBoxPopup } from '@hcengineering/view-resources'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import tracker from '../../plugin'
|
||||
import TimePresenter from '../issues/timereport/TimePresenter.svelte'
|
||||
|
||||
export let value: IssueTemplateChild | IssueTemplate | Data<IssueTemplate> | IssueDraft
|
||||
export let isEditable: boolean = true
|
||||
@@ -62,8 +63,6 @@
|
||||
{#if value}
|
||||
<Button
|
||||
showTooltip={isEditable ? { label: tracker.string.Estimation } : undefined}
|
||||
label={tracker.string.TimeSpendValue}
|
||||
labelParams={{ value: value.estimation }}
|
||||
icon={tracker.icon.Estimation}
|
||||
notSelected={value.estimation === 0}
|
||||
{justify}
|
||||
@@ -72,5 +71,7 @@
|
||||
{kind}
|
||||
disabled={!isEditable}
|
||||
on:click={handleestimationEditorOpened}
|
||||
/>
|
||||
>
|
||||
<TimePresenter slot="content" value={value.estimation} />
|
||||
</Button>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user