index remove graph

This commit is contained in:
2024-03-24 13:46:34 +02:00
parent d824e52dce
commit e74e1e7956
17 changed files with 107 additions and 155 deletions
+3 -3
View File
@@ -48,7 +48,7 @@
schema: record.schema,
status: record.status,
_sys: JSON.parse(JSON.stringify(record._sys)),
edges: JSON.parse(JSON.stringify(graph.edges)),
edges: JSON.parse(JSON.stringify(graph)),
};
}
@@ -81,7 +81,7 @@
schema: record.schema,
status: record.status,
_sys: record._sys,
edges: graph.edges,
edges: graph,
});
}
@@ -115,7 +115,7 @@
if (isCreateMode) {
window.location.href = channel.lucentUrl + "/records/" + record.id;
} else {
record = response.data.records[0] ?? null;
record = response.data.rootRecords[0] ?? null;
if (!record) {
// means trashed
hasUnsavedData = false;