CSR-710 Add curly brackets to if
This commit is contained in:
parent
ea207aac90
commit
c941192032
1 changed files with 2 additions and 1 deletions
|
|
@ -43,8 +43,9 @@ export async function getPageToRouteExistingOrderTo(toRoute = {}, existingHerita
|
|||
|
||||
export async function navigateToHeritageFunnel(shouldSaveOrder = true) {
|
||||
// Create the order (or save existing order) when navigating to Heritage Funnel.
|
||||
if (shouldSaveOrder)
|
||||
if (shouldSaveOrder) {
|
||||
await saveOrder();
|
||||
}
|
||||
|
||||
router.navigateToExternalUrl(
|
||||
externalUrls.HERITAGE_FUNNEL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue