Change position of AddTimeReport popup (#2474)

Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com>
This commit is contained in:
Denis Maslennikov 2022-12-27 11:54:24 +07:00 committed by GitHub
parent 5a891aa686
commit 8c33350c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}
/>