mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 20:45:00 +02:00
Cherry Pick of recent changes in qms (#8498)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
@@ -150,7 +150,7 @@ export async function createControlledDocMetadata (
|
||||
}> {
|
||||
const projectId = project ?? documents.ids.NoProject
|
||||
|
||||
const ops = client.apply()
|
||||
const ops = client.apply('create-qms-document')
|
||||
|
||||
ops.notMatch(documents.class.Document, {
|
||||
template: templateId,
|
||||
@@ -303,7 +303,7 @@ export async function createDocumentTemplateMetadata (
|
||||
path = await getParentPath(client, parent)
|
||||
}
|
||||
|
||||
const ops = client.apply()
|
||||
const ops = client.apply('create-qms-document')
|
||||
|
||||
ops.notMatch(documents.class.Document, {
|
||||
template: { $exists: false },
|
||||
|
||||
Reference in New Issue
Block a user