This commit is contained in:
@@ -5,5 +5,13 @@ export const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: EntriesComponent
|
||||
},
|
||||
{
|
||||
path: 'create',
|
||||
loadComponent: () => import('./edit-entry/edit-entry.component').then(m => m.EditEntryComponent)
|
||||
},
|
||||
{
|
||||
path: 'edit/:id',
|
||||
loadComponent: () => import('./edit-entry/edit-entry.component').then(m => m.EditEntryComponent)
|
||||
}
|
||||
];
|
||||
@@ -6,7 +6,7 @@
|
||||
[options]="(rabbits$ | async)!" optionLabel="name" /> -->
|
||||
</div>
|
||||
<div>
|
||||
<p-button label="Erstellen" routerLink="/weight-entries/create">
|
||||
<p-button label="Erstellen" routerLink="/entries/create">
|
||||
<!-- <ng-icon name="matAddSharp"></ng-icon> -->
|
||||
</p-button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user