Formula Automatically Created on Record Properties
This commit is contained in:
1 parent
5e281323e8
commit
24d2443c1a
1 file changed
+5
-1
@@ -1308,13 +1308,17 @@ function newUiObjectsFromNodes () {
|
||||
let object = {
|
||||
type: 'Record Property',
|
||||
name: 'New Record Property',
|
||||
code: '{}'
|
||||
code: '{}',
|
||||
formula: {
|
||||
code: DEFAULT_FORMULA_TEXT
|
||||
}
|
||||
}
|
||||
if (node.properties === undefined) {
|
||||
node.properties = []
|
||||
}
|
||||
node.properties.push(object)
|
||||
createUiObject(object.type, object.name, object, node, node)
|
||||
createUiObject('Formula', '', object.formula, object, object)
|
||||
|
||||
return object
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user