Merge pull request #3964 from eriese/eriese-3957
fixes #3957 Re-use existing part for out-of-cycle draft
This commit is contained in:
commit
92a51ec163
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ PatternDrafter.prototype.__createPartForSet = function (partName, set = 0) {
|
|||
}
|
||||
// Create parts
|
||||
this.activeStore.log.debug(`📦 Creating part \`${partName}\` (set ${set})`)
|
||||
this.pattern.parts[set][partName] = this.__createPartWithContext(partName, set)
|
||||
this.pattern.parts[set][partName] =
|
||||
this.pattern.parts[set][partName] || this.__createPartWithContext(partName, set)
|
||||
|
||||
// Handle inject/inheritance
|
||||
const parent = this.pattern.config.inject[partName]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue