mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-30 02:37:46 +03:00
Change position of AddTimeReport popup (#2474)
Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com>
This commit is contained in:
parent
5a891aa686
commit
8c33350c3f
@ -17,7 +17,7 @@
|
|||||||
import { SortingOrder, WithLookup } from '@hcengineering/core'
|
import { SortingOrder, WithLookup } from '@hcengineering/core'
|
||||||
import presentation, { Card, createQuery } from '@hcengineering/presentation'
|
import presentation, { Card, createQuery } from '@hcengineering/presentation'
|
||||||
import { Issue, IssueStatus, Team } from '@hcengineering/tracker'
|
import { Issue, IssueStatus, Team } from '@hcengineering/tracker'
|
||||||
import { Button, EditBox, EditStyle, eventToHTMLElement, IconAdd, Label, showPopup } from '@hcengineering/ui'
|
import { Button, EditBox, EditStyle, IconAdd, Label, showPopup } from '@hcengineering/ui'
|
||||||
import { createEventDispatcher } from 'svelte'
|
import { createEventDispatcher } from 'svelte'
|
||||||
import tracker from '../../../plugin'
|
import tracker from '../../../plugin'
|
||||||
import IssuePresenter from '../IssuePresenter.svelte'
|
import IssuePresenter from '../IssuePresenter.svelte'
|
||||||
@ -139,17 +139,13 @@
|
|||||||
icon={IconAdd}
|
icon={IconAdd}
|
||||||
size={'small'}
|
size={'small'}
|
||||||
on:click={(event) => {
|
on:click={(event) => {
|
||||||
showPopup(
|
showPopup(TimeSpendReportPopup, {
|
||||||
TimeSpendReportPopup,
|
issueId: object._id,
|
||||||
{
|
issueClass: object._class,
|
||||||
issueId: object._id,
|
space: object.space,
|
||||||
issueClass: object._class,
|
assignee: object.assignee,
|
||||||
space: object.space,
|
defaultTimeReportDay
|
||||||
assignee: object.assignee,
|
})
|
||||||
defaultTimeReportDay
|
|
||||||
},
|
|
||||||
eventToHTMLElement(event)
|
|
||||||
)
|
|
||||||
}}
|
}}
|
||||||
label={tracker.string.TimeSpendReportAdd}
|
label={tracker.string.TimeSpendReportAdd}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user