Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shafeeq PP authored and Shafeeq PP committed Oct 4, 2023
2 parents 1b44c1f + a99463f commit 382aa09
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ export default class ImportGlobalFields extends BaseClass {
const uid = globalField.uid;
if (error?.errors?.title) {
if (this.importConfig.replaceExisting) {
// Note: skipping the pending GFs from update, reason: pending GFs gets updated at the CTs import
// if (this.pendingGFs.indexOf(uid) === -1) {
this.existingGFs.push(globalField);
// }
}
if (!this.importConfig.skipExisting) {
log(this.importConfig, `Global fields '${uid}' already exist`, 'info');
Expand Down

0 comments on commit 382aa09

Please sign in to comment.