Skip to content

Commit

Permalink
fix(admin-ui): Fix component for new Angular extension route API
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Sep 11, 2023
1 parent 10ba12c commit 6fe1bd0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { BehaviorSubject, Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { BaseDetailComponent, createBaseDetailResolveFn } from '../common/base-detail.component';
import { BreadcrumbValue } from '../providers/breadcrumb/breadcrumb.service';
import { ROUTE_COMPONENT_OPTIONS, RouteComponent } from './components/route.component';
import { AngularRouteComponent } from './components/angular-route.component';
import { ROUTE_COMPONENT_OPTIONS } from './components/route.component';
import { RouteComponentOptions } from './types';

export type RegisterRouteComponentOptions<
Expand Down Expand Up @@ -79,6 +80,6 @@ export function registerRouteComponent<
: {}),
...(options.routeConfig?.data ?? {}),
},
component: RouteComponent,
component: AngularRouteComponent,
} satisfies Route;
}

0 comments on commit 6fe1bd0

Please sign in to comment.