mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 20:27:43 +02:00
UBER-174: Introduce createOn every there (#3222)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
IssuePriority,
|
||||
IssueStatus,
|
||||
IssueTemplate,
|
||||
Project,
|
||||
Milestone
|
||||
Milestone,
|
||||
Project
|
||||
} from '@hcengineering/tracker'
|
||||
import {
|
||||
ActionIcon,
|
||||
@@ -67,9 +67,9 @@
|
||||
import PriorityEditor from './issues/PriorityEditor.svelte'
|
||||
import StatusEditor from './issues/StatusEditor.svelte'
|
||||
import EstimationEditor from './issues/timereport/EstimationEditor.svelte'
|
||||
import MilestoneSelector from './milestones/MilestoneSelector.svelte'
|
||||
import SetDueDateActionPopup from './SetDueDateActionPopup.svelte'
|
||||
import SetParentIssueActionPopup from './SetParentIssueActionPopup.svelte'
|
||||
import MilestoneSelector from './milestones/MilestoneSelector.svelte'
|
||||
import SubIssues from './SubIssues.svelte'
|
||||
|
||||
export let space: Ref<Project>
|
||||
@@ -354,8 +354,7 @@
|
||||
estimation: object.estimation,
|
||||
reports: 0,
|
||||
relations: relatedTo !== undefined ? [{ _id: relatedTo._id, _class: relatedTo._class }] : [],
|
||||
childInfo: [],
|
||||
createOn: Date.now()
|
||||
childInfo: []
|
||||
}
|
||||
|
||||
await client.addCollection(
|
||||
|
||||
@@ -94,8 +94,7 @@
|
||||
estimation: subIssue.estimation,
|
||||
reports: 0,
|
||||
relations: [],
|
||||
childInfo: [],
|
||||
createOn: Date.now()
|
||||
childInfo: []
|
||||
}
|
||||
|
||||
await client.addCollection(
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
const config: [string, IntlString, object][] = [
|
||||
['assigned', tracker.string.Assigned, {}],
|
||||
['created', tracker.string.Created, {}],
|
||||
['created', tracker.string.Created, { value: 2 }],
|
||||
['subscribed', tracker.string.Subscribed, {}]
|
||||
]
|
||||
const currentUser = getCurrentAccount() as EmployeeAccount
|
||||
|
||||
Reference in New Issue
Block a user