merge upsi fix 🦏🍆🤡
This commit is contained in:
@@ -66,6 +66,8 @@ import { PurchaseSuccessComponent } from './purchase-success/purchase-success.co
|
|||||||
import { PurchaseFailedComponent } from './purchase-failed/purchase-failed.component';
|
import { PurchaseFailedComponent } from './purchase-failed/purchase-failed.component';
|
||||||
import { TicketSmallComponent } from './ticket-small/ticket-small.component';
|
import { TicketSmallComponent } from './ticket-small/ticket-small.component';
|
||||||
import { TicketListComponent } from './ticket-list/ticket-list.component';
|
import { TicketListComponent } from './ticket-list/ticket-list.component';
|
||||||
|
import { StatisticsComponent } from './statistics/statistics.component';
|
||||||
|
import { ZoomWarningComponent } from './zoom-warning/zoom-warning.component';
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
@@ -109,6 +111,8 @@ import { TicketListComponent } from './ticket-list/ticket-list.component';
|
|||||||
PurchaseFailedComponent,
|
PurchaseFailedComponent,
|
||||||
TicketSmallComponent,
|
TicketSmallComponent,
|
||||||
TicketListComponent,
|
TicketListComponent,
|
||||||
|
StatisticsComponent,
|
||||||
|
ZoomWarningComponent,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
AppRoutingModule,
|
AppRoutingModule,
|
||||||
|
|||||||
@@ -28,7 +28,13 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
|
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
|
||||||
},
|
},
|
||||||
{ path: 'selection/performance/:id', component: TheaterOverlayComponent},
|
{ path: 'performance/:performanceId/checkout', component: TheaterOverlayComponent},
|
||||||
|
{
|
||||||
|
path: 'admin/statistics',
|
||||||
|
component: StatisticsComponent,
|
||||||
|
canActivate: [AuthGuard],
|
||||||
|
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user