Skip to content

Commit

Permalink
improve implem
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Jun 22, 2021
1 parent f1eb552 commit 14654d3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/core/public/application/application_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,6 @@ const updateStatus = (app: App, statusUpdaters: AppUpdaterWrapper[]): App => {
}
const fields = wrapper.updater(app);
if (fields) {
const deepLinks = fields.deepLinks
? populateDeepLinkDefaults(fields.deepLinks)
: changes.deepLinks;
changes = {
...changes,
...fields,
Expand All @@ -418,7 +415,7 @@ const updateStatus = (app: App, statusUpdaters: AppUpdaterWrapper[]): App => {
changes.navLinkStatus ?? AppNavLinkStatus.default,
fields.navLinkStatus ?? AppNavLinkStatus.default
),
...(deepLinks ? { deepLinks } : {}),
...(fields.deepLinks ? { deepLinks: populateDeepLinkDefaults(fields.deepLinks) } : {}),
};
}
});
Expand Down

0 comments on commit 14654d3

Please sign in to comment.