Deactivate incoming components during import process

This commit is contained in:
Mo Bitar
2017-10-20 12:08:10 -05:00
parent 6033bde0d5
commit d277cfc9f3

View File

@@ -240,6 +240,12 @@ class AccountMenu {
item.setDirty(true);
item.deleted = false;
item.markAllReferencesDirty();
// We don't want to activate any components during import process in case of exceptions
// breaking up the import proccess
if(item.content_type == "SN|Component") {
item.active = false;
}
})
syncManager.sync((response) => {