mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 04:55:03 +02:00
UBERF-6267: Fix few platform troubles (#5142)
This commit is contained in:
@@ -420,7 +420,8 @@ async function restoreTaskTypes (client: MigrationClient): Promise<void> {
|
||||
)[0] as TxMixin<any, any>
|
||||
|
||||
if (typeMixin === undefined) {
|
||||
throw new Error('No type mixin found for the task type being restored')
|
||||
console.error(new Error('No type mixin found for the task type being restored'))
|
||||
continue
|
||||
}
|
||||
|
||||
// Get statuses and categories
|
||||
|
||||
@@ -525,7 +525,7 @@ export function defineViewlets (builder: Builder): void {
|
||||
attachTo: tracker.class.Project,
|
||||
descriptor: view.viewlet.List,
|
||||
viewOptions: {
|
||||
groupBy: ['type', 'createdBy'],
|
||||
groupBy: ['createdBy'],
|
||||
orderBy: [
|
||||
['type', SortingOrder.Descending],
|
||||
['modifiedOn', SortingOrder.Descending],
|
||||
@@ -549,10 +549,11 @@ export function defineViewlets (builder: Builder): void {
|
||||
sortingKey: 'members',
|
||||
props: { readonly: true, kind: 'list' }
|
||||
},
|
||||
{
|
||||
key: 'type',
|
||||
props: { kind: 'list' }
|
||||
},
|
||||
// TODO: Need return type in future
|
||||
// {
|
||||
// key: 'type',
|
||||
// props: { kind: 'list' }
|
||||
// },
|
||||
{
|
||||
key: 'defaultAssignee',
|
||||
props: { kind: 'list' }
|
||||
|
||||
Reference in New Issue
Block a user