mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 13:47:26 +03:00
fix: hide actions for archived teamspaces (#5580)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
ccf7323589
commit
7d7e1ef412
@ -224,7 +224,7 @@ function defineTeamspace (builder: Builder): void {
|
||||
// Actions
|
||||
|
||||
builder.mixin(document.class.Teamspace, core.class.Class, view.mixin.IgnoreActions, {
|
||||
actions: [tracker.action.EditRelatedTargets]
|
||||
actions: [tracker.action.EditRelatedTargets, tracker.action.NewRelatedIssue]
|
||||
})
|
||||
|
||||
createAction(
|
||||
@ -256,6 +256,9 @@ function defineTeamspace (builder: Builder): void {
|
||||
category: document.category.Document,
|
||||
target: document.class.Teamspace,
|
||||
inline: true,
|
||||
query: {
|
||||
archived: false
|
||||
},
|
||||
context: {
|
||||
mode: ['context', 'browser'],
|
||||
application: document.app.Documents,
|
||||
|
Loading…
Reference in New Issue
Block a user