Prepare Edit and New separation.

This commit is contained in:
2018-06-13 21:37:40 +02:00
parent c92b1bed11
commit 45207d6500
4 changed files with 61 additions and 2 deletions

View File

@ -1,9 +1,21 @@
// vim: set tw=80 ts=2 sw=2 sts=2 :
import { OperationListComponent } from './operationList.component';
import { OperationNewComponent } from './operationNew.component';
import { OperationEditComponent } from './operationEdit.component';
export const OperationListState = {
path: 'account/:accountId/operations',
component: OperationListComponent,
onSameUrlNavigation: 'reload'
}
};
export const OperationNewState = {
path: 'account/:accountId/operations/new',
component: OperationNewComponent,
};
export const OperationEditState = {
path: 'account/:accountId/operations/:operationId/edit',
component: OperationEditComponent,
};