Skip to content

Commit

Permalink
fix(h5p-webcomponents): contents not deleted from integration on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sr258 committed Sep 21, 2021
1 parent 7f42cd9 commit c381e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/h5p-webcomponents/src/h5p-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function mergeH5PIntegration(
const newIntegrationDup = { ...newIntegration };
// We don't merge content object information, as there might be issues with
// this.
delete newIntegration.contents;
delete newIntegrationDup.contents;

window.H5PIntegration = merge(window.H5PIntegration, newIntegrationDup);
}
Expand Down

0 comments on commit c381e2e

Please sign in to comment.