mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 12:04:56 +02:00
Date process funcs (#8441)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -51,7 +51,7 @@ export function getContext (
|
||||
attr?: Ref<AnyAttribute>
|
||||
): Context {
|
||||
let attributes = getClassAttributes(client, process.masterTag, target, category)
|
||||
if (attr !== undefined) {
|
||||
if (attr !== undefined && category === 'object') {
|
||||
attributes = attributes.filter((it) => it._id !== attr)
|
||||
}
|
||||
const nested: Record<string, NestedContext> = {}
|
||||
|
||||
Reference in New Issue
Block a user