diff --git a/src/operations/operation.states.ts b/src/operations/operation.states.ts index 5a88a02..f7bd6a6 100644 --- a/src/operations/operation.states.ts +++ b/src/operations/operation.states.ts @@ -12,6 +12,6 @@ export const OperationRoutes: Routes = [{ path: 'account/:accountId/operations/new', component: OperationEditComponent, }, { - path: 'account/:accountId/operation/:operationId/edit', + path: 'account/:accountId/operations/:operationId/edit', component: OperationEditComponent, }]; diff --git a/src/operations/operationList.component.ts b/src/operations/operationList.component.ts index 6dad013..b4f2bd0 100644 --- a/src/operations/operationList.component.ts +++ b/src/operations/operationList.component.ts @@ -47,7 +47,8 @@ import { OperationService } from './operation.service'; - + Ajouter diff --git a/src/operations/operationRow.component.ts b/src/operations/operationRow.component.ts index 2bab190..2c8afdc 100644 --- a/src/operations/operationRow.component.ts +++ b/src/operations/operationRow.component.ts @@ -42,7 +42,8 @@ import { OperationDeleteModalComponent } from './operationDeleteModal.component' + [routerLink]="[operation.id, 'edit']" + title="edit">