Add new fragment to list of updated fragment list
This commit is contained in:
parent
021844bf0a
commit
3ce2d0777d
1 changed files with 4 additions and 0 deletions
|
@ -257,6 +257,10 @@ export class GapWriter {
|
|||
startFill.entries.push(...endFill.entries);
|
||||
startFill.updatedEntries.push(...endFill.updatedEntries);
|
||||
startFill.fragments.push(...endFill.fragments);
|
||||
if (!startFill.fragments.includes(newFragment)) {
|
||||
// We created the fragment so it is updated.
|
||||
startFill.fragments.push(newFragment);
|
||||
}
|
||||
return startFill;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue