Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/crit_app_f…
Browse files Browse the repository at this point in the history
…rame

# Conflicts:
#	src/app/services/editorial-conventions.service.ts
  • Loading branch information
davivcu committed Sep 19, 2023
2 parents e6ea535 + 0da0773 commit 4faaaec
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/app/services/editorial-conventions.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,9 @@ export class EditorialConventionsService {
Object.keys(c.attributes)).every((k) => attributes[k] === c.attributes[k])))?.layouts ?? undefined;

if (externalLayouts) {
Object.keys(externalLayouts).forEach((editionLevel) => {
layouts = {
...defaultKeys || {},
[editionLevel]: {
...defaultKeys ? defaultKeys[editionLevel] : {},
...externalLayouts[editionLevel],
},
}
});
layouts = {
...externalLayouts || {},
}
}

return layouts;
Expand Down

0 comments on commit 4faaaec

Please sign in to comment.