Deactivate incoming components during import process
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user