Fixed: Typo on resolve object

This commit is contained in:
Sercan Yemen 2022-01-01 22:32:39 +03:00
parent 964c4b23a9
commit 5337c95782

View File

@ -17,7 +17,7 @@ export const contactsRoutes: Route[] = [
path : '', path : '',
component: ContactsListComponent, component: ContactsListComponent,
resolve : { resolve : {
tasks : ContactsResolver, contacts : ContactsResolver,
countries: ContactsCountriesResolver countries: ContactsCountriesResolver
}, },
children : [ children : [
@ -25,7 +25,7 @@ export const contactsRoutes: Route[] = [
path : ':id', path : ':id',
component : ContactsDetailsComponent, component : ContactsDetailsComponent,
resolve : { resolve : {
task : ContactsContactResolver, contact : ContactsContactResolver,
countries: ContactsCountriesResolver countries: ContactsCountriesResolver
}, },
canDeactivate: [CanDeactivateContactsDetails] canDeactivate: [CanDeactivateContactsDetails]