mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 05:07:43 +02:00
EQMS-1033 Filter out readonly projects when creating new controlled document (#5912)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@
|
||||
}
|
||||
|
||||
async function selectProject (space: DocumentSpace): Promise<void> {
|
||||
project = getCurrentProject(space._id) ?? (await getLatestProjectId(space._id)) ?? documents.ids.NoProject
|
||||
project = getCurrentProject(space._id) ?? (await getLatestProjectId(space._id, true)) ?? documents.ids.NoProject
|
||||
}
|
||||
|
||||
function handleDocumentSelected (doc: WithLookup<ProjectDocument>): void {
|
||||
|
||||
Reference in New Issue
Block a user