Skip to content

Commit

Permalink
Fix routing for display
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed May 15, 2024
1 parent 6de55e6 commit ea867bb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions firebird-ng/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import {FileBrowserComponent} from "./file-browser/file-browser.component";
import {InputConfigComponent} from "./input-config/input-config.component";

export const routes: Routes = [
{ path: '', redirectTo: '/display', pathMatch: 'full' },
// { path: '', redirectTo: '/display', pathMatch: 'full' },
{ path: 'config', component: InputConfigComponent },
{
path: 'display',
loadComponent: () => import('./main-display/main-display.component').then(m => m.MainDisplayComponent)
},

{
path: 'files',
loadComponent: () => import('./file-browser/file-browser.component').then(m => m.FileBrowserComponent)
},
{
path: '',
loadComponent: () => import('./main-display/main-display.component').then(m => m.MainDisplayComponent)
},
];

0 comments on commit ea867bb

Please sign in to comment.