mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-06 17:57:42 +02:00
UBERF-5603 (#4754)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -83,6 +83,7 @@ import {
|
||||
import type { AnyComponent } from '@hcengineering/ui'
|
||||
import { PaletteColorIndexes } from '@hcengineering/ui/src/colors'
|
||||
import { type ViewAction } from '@hcengineering/view'
|
||||
import { createPublicLinkAction } from '@hcengineering/model-guest'
|
||||
|
||||
import task from './plugin'
|
||||
|
||||
@@ -557,6 +558,8 @@ export function createModel (builder: Builder): void {
|
||||
},
|
||||
task.ids.ManageProjects
|
||||
)
|
||||
|
||||
createPublicLinkAction(builder, task.class.Task, task.action.PublicLink)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
//
|
||||
|
||||
import {} from '@hcengineering/notification'
|
||||
import type { Ref, Space } from '@hcengineering/core'
|
||||
import type { Doc, Ref, Space } from '@hcengineering/core'
|
||||
import { mergeIds, type IntlString } from '@hcengineering/platform'
|
||||
import { type TagCategory } from '@hcengineering/tags'
|
||||
import { taskId } from '@hcengineering/task'
|
||||
@@ -28,7 +28,8 @@ export default mergeIds(taskId, task, {
|
||||
EditStatuses: '' as Ref<Action>,
|
||||
ArchiveSpace: '' as Ref<Action>,
|
||||
UnarchiveSpace: '' as Ref<Action>,
|
||||
ArchiveState: '' as Ref<Action>
|
||||
ArchiveState: '' as Ref<Action>,
|
||||
PublicLink: '' as Ref<Action<Doc, any>>
|
||||
},
|
||||
actionImpl: {
|
||||
EditStatuses: '' as ViewAction,
|
||||
|
||||
Reference in New Issue
Block a user