UBER-174: Introduce createOn every there (#3222)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-05-20 00:37:22 +07:00
committed by GitHub
parent 0f62a3175e
commit c0bb68be9e
50 changed files with 159 additions and 317 deletions
@@ -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