From 30f69c8a1692bb6deabae4716a06c91a666bea98 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Tue, 20 Jun 2017 14:51:38 -0500 Subject: [PATCH] fix(navigation): fallback to name if component does not exist on segment --- src/navigation/deep-linker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/navigation/deep-linker.ts b/src/navigation/deep-linker.ts index 30eb98464cd..1e64337f19b 100644 --- a/src/navigation/deep-linker.ts +++ b/src/navigation/deep-linker.ts @@ -428,7 +428,7 @@ export function _loadViewForSegment(navContainer: NavigationContainer, segment: } // ok, so they must be pushing a new view to the stack // since we didn't find this same component already in the stack - return navController.push(segment.component, segment.data, { + return navController.push(segment.component || segment.name, segment.data, { id: segment.id, animate: false, updateUrl: false }, done); }