Search over workspace nodes fixed, and repositioning on workspace node fixed
This commit is contained in:
1 parent
4309c19bb7
commit
8bccf75614
1 file changed
+2
-5
@@ -818,7 +818,7 @@ function newSuperalgosDocSpace() {
|
||||
nodeId: node.id,
|
||||
nodeNameTypePath: nodeNameTypePath,
|
||||
type: node.type,
|
||||
definition: node.name,
|
||||
definition: { text: node.name },
|
||||
paragraphs: []
|
||||
}
|
||||
if (node.config !== undefined) {
|
||||
@@ -926,9 +926,6 @@ function newSuperalgosDocSpace() {
|
||||
}
|
||||
indexParagraph(paragraph)
|
||||
}
|
||||
if (documentIndex.docsSchemaDocument.type === "Vaina") {
|
||||
let a = 1
|
||||
}
|
||||
if (documentIndex.docsSchemaDocument.definition !== undefined) {
|
||||
let paragraph = {
|
||||
style: 'Definition',
|
||||
@@ -1905,7 +1902,7 @@ function newSuperalgosDocSpace() {
|
||||
async function repositionWorkspace() {
|
||||
if (objectBeingRendered.category !== 'Workspace') { return }
|
||||
|
||||
let node = await UI.projects.superalgos.spaces.designSpace.workspace.getNodeById(docsSchemaDocument.key)
|
||||
let node = await UI.projects.superalgos.spaces.designSpace.workspace.getNodeById(docsSchemaDocument.nodeId)
|
||||
node.payload.floatingObject.unCollapseParent()
|
||||
setTimeout(positionAtNode, 3000, node)
|
||||
setTimeout(positionAtNode, 5000, node)
|
||||
|
||||
Reference in new issue
Block a user