Skip to content

Commit c90e72f

Browse files
committed
fix(routes): returned project state
1 parent 4f223e0 commit c90e72f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/app.routes.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { LicensesHandlers, ProjectsHandlers, ProvidersHandlers } from './feature
1515
import { FilesHandlers } from './features/registries/store/handlers/files.handlers';
1616
import { LicensesService } from './shared/services/licenses.service';
1717
import { BookmarksState } from './shared/stores/bookmarks';
18+
import { ProjectsState } from './shared/stores/projects';
1819

1920
export const routes: Routes = [
2021
{
@@ -34,6 +35,7 @@ export const routes: Routes = [
3435
import('./features/home/pages/dashboard/dashboard.component').then((mod) => mod.DashboardComponent),
3536
data: { skipBreadcrumbs: true },
3637
canActivate: [authGuard],
38+
providers: [provideStates([ProjectsState])],
3739
},
3840
{
3941
path: 'register',
@@ -67,7 +69,7 @@ export const routes: Routes = [
6769
loadComponent: () =>
6870
import('./features/my-projects/my-projects.component').then((mod) => mod.MyProjectsComponent),
6971
canActivate: [authGuard],
70-
providers: [provideStates([BookmarksState])],
72+
providers: [provideStates([BookmarksState, ProjectsState])],
7173
},
7274
{
7375
path: 'my-registrations',

0 commit comments

Comments
 (0)