mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-20 23:32:14 +00:00
UBER-740 Remove Move action (#3601)
This commit is contained in:
parent
c28fc1014d
commit
3f0b785ebb
@ -27,8 +27,7 @@ export default mergeIds(taskId, task, {
|
|||||||
EditStatuses: '' as Ref<Action>,
|
EditStatuses: '' as Ref<Action>,
|
||||||
ArchiveSpace: '' as Ref<Action>,
|
ArchiveSpace: '' as Ref<Action>,
|
||||||
UnarchiveSpace: '' as Ref<Action>,
|
UnarchiveSpace: '' as Ref<Action>,
|
||||||
ArchiveState: '' as Ref<Action>,
|
ArchiveState: '' as Ref<Action>
|
||||||
Move: '' as Ref<Action>
|
|
||||||
},
|
},
|
||||||
actionImpl: {
|
actionImpl: {
|
||||||
EditStatuses: '' as ViewAction,
|
EditStatuses: '' as ViewAction,
|
||||||
|
@ -1805,7 +1805,8 @@ export function createModel (builder: Builder): void {
|
|||||||
mode: ['context', 'browser'],
|
mode: ['context', 'browser'],
|
||||||
application: tracker.app.Tracker,
|
application: tracker.app.Tracker,
|
||||||
group: 'associate'
|
group: 'associate'
|
||||||
}
|
},
|
||||||
|
override: [task.action.Move]
|
||||||
},
|
},
|
||||||
tracker.action.MoveToProject
|
tracker.action.MoveToProject
|
||||||
)
|
)
|
||||||
|
@ -32,7 +32,7 @@ import { NotificationType } from '@hcengineering/notification'
|
|||||||
import type { Asset, IntlString, Plugin } from '@hcengineering/platform'
|
import type { Asset, IntlString, Plugin } from '@hcengineering/platform'
|
||||||
import { plugin } from '@hcengineering/platform'
|
import { plugin } from '@hcengineering/platform'
|
||||||
import type { AnyComponent } from '@hcengineering/ui'
|
import type { AnyComponent } from '@hcengineering/ui'
|
||||||
import { ViewletDescriptor } from '@hcengineering/view'
|
import { Action, ViewletDescriptor } from '@hcengineering/view'
|
||||||
import { genRanks } from './utils'
|
import { genRanks } from './utils'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -201,6 +201,9 @@ const task = plugin(taskId, {
|
|||||||
app: {
|
app: {
|
||||||
Tasks: '' as Ref<Doc>
|
Tasks: '' as Ref<Doc>
|
||||||
},
|
},
|
||||||
|
action: {
|
||||||
|
Move: '' as Ref<Action>
|
||||||
|
},
|
||||||
mixin: {
|
mixin: {
|
||||||
KanbanCard: '' as Ref<Mixin<KanbanCard>>
|
KanbanCard: '' as Ref<Mixin<KanbanCard>>
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user