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 presentation, { Card, createQuery } from '@hcengineering/presentation'
|
||||
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 tracker from '../../../plugin'
|
||||
import IssuePresenter from '../IssuePresenter.svelte'
|
||||
@ -139,17 +139,13 @@
|
||||
icon={IconAdd}
|
||||
size={'small'}
|
||||
on:click={(event) => {
|
||||
showPopup(
|
||||
TimeSpendReportPopup,
|
||||
{
|
||||
issueId: object._id,
|
||||
issueClass: object._class,
|
||||
space: object.space,
|
||||
assignee: object.assignee,
|
||||
defaultTimeReportDay
|
||||
},
|
||||
eventToHTMLElement(event)
|
||||
)
|
||||
showPopup(TimeSpendReportPopup, {
|
||||
issueId: object._id,
|
||||
issueClass: object._class,
|
||||
space: object.space,
|
||||
assignee: object.assignee,
|
||||
defaultTimeReportDay
|
||||
})
|
||||
}}
|
||||
label={tracker.string.TimeSpendReportAdd}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user