UBERF-6267: Fix few platform troubles (#5142)

This commit is contained in:
Andrey Sobolev
2024-04-02 19:40:52 +07:00
committed by GitHub
parent c8a58d5428
commit 7a7ea1e92b
7 changed files with 56 additions and 39 deletions
+2 -1
View File
@@ -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
+6 -5
View File
@@ -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' }