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