Skip to content

Commit

Permalink
Merge pull request #5 from eic/config-ui
Browse files Browse the repository at this point in the history
Fix routing for display
  • Loading branch information
DraTeots authored May 15, 2024
2 parents 6b2b41e + ea867bb commit 537a036
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 537a036

Please sign in to comment.