mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 02:42:28 +03:00
Fix project edits (#9594)
Fixes the issue that prevents project edits from being committed.
This commit is contained in:
parent
ab5fe1757e
commit
9db264231e
@ -46,7 +46,7 @@ export function applyDocumentUpdates(
|
||||
synced: EnsoFileParts,
|
||||
update: ModuleUpdate,
|
||||
): AppliedUpdates {
|
||||
const codeChanged = update.nodesUpdated.size && update.nodesAdded.size && update.nodesDeleted.size
|
||||
const codeChanged = update.nodesUpdated.size || update.nodesAdded.size || update.nodesDeleted.size
|
||||
let idsChanged = false
|
||||
let metadataChanged = false
|
||||
for (const { changes } of update.metadataUpdated) {
|
||||
|
Loading…
Reference in New Issue
Block a user