fixes #3957 re-use existing part for out-of-cycle draft
This commit is contained in:
parent
6919a1bf57
commit
282696f1cd
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