UBER-740 Remove Move action (#3601)

This commit is contained in:
Alexander Onnikov 2023-08-18 08:27:52 +07:00 committed by GitHub
parent c28fc1014d
commit 3f0b785ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -27,8 +27,7 @@ export default mergeIds(taskId, task, {
EditStatuses: '' as Ref<Action>,
ArchiveSpace: '' as Ref<Action>,
UnarchiveSpace: '' as Ref<Action>,
ArchiveState: '' as Ref<Action>,
Move: '' as Ref<Action>
ArchiveState: '' as Ref<Action>
},
actionImpl: {
EditStatuses: '' as ViewAction,

View File

@ -1805,7 +1805,8 @@ export function createModel (builder: Builder): void {
mode: ['context', 'browser'],
application: tracker.app.Tracker,
group: 'associate'
}
},
override: [task.action.Move]
},
tracker.action.MoveToProject
)

View File

@ -32,7 +32,7 @@ import { NotificationType } from '@hcengineering/notification'
import type { Asset, IntlString, Plugin } from '@hcengineering/platform'
import { plugin } from '@hcengineering/platform'
import type { AnyComponent } from '@hcengineering/ui'
import { ViewletDescriptor } from '@hcengineering/view'
import { Action, ViewletDescriptor } from '@hcengineering/view'
import { genRanks } from './utils'
/**
@ -201,6 +201,9 @@ const task = plugin(taskId, {
app: {
Tasks: '' as Ref<Doc>
},
action: {
Move: '' as Ref<Action>
},
mixin: {
KanbanCard: '' as Ref<Mixin<KanbanCard>>
},