New Angular based web version #1
@@ -5,5 +5,13 @@ export const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: EntriesComponent
|
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" /> -->
|
[options]="(rabbits$ | async)!" optionLabel="name" /> -->
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p-button label="Erstellen" routerLink="/weight-entries/create">
|
<p-button label="Erstellen" routerLink="/entries/create">
|
||||||
<!-- <ng-icon name="matAddSharp"></ng-icon> -->
|
<!-- <ng-icon name="matAddSharp"></ng-icon> -->
|
||||||
</p-button>
|
</p-button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user