Component manager notify observers on delete

This commit is contained in:
Mo Bitar
2018-07-03 18:34:38 -05:00
parent 662b3d6a07
commit b270618b53

View File

@@ -546,6 +546,9 @@ class ComponentManager {
this.deactivateComponent(model, true);
}
this.modelManager.setItemToBeDeleted(model);
// Currently extensions are not notified of association until a full server sync completes.
// We manually notify observers.
this.modelManager.notifySyncObserversOfModels([model], SFModelManager.MappingSourceRemoteSaved);
}
this.syncManager.sync();