Skip to content

Commit

Permalink
fixing route error (#1465)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhigbyflowers committed Oct 11, 2024
1 parent 4395289 commit 73bb4b8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions public-ui/src/app/data-browser/databrowser-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ import { NavStore } from "app/utils/navigation";
import { EmergencyComponent } from "app/views/emergency/emergency.component";

const routes: Routes = [
{
path: "error",
pathMatch: "full",
component: EmergencyComponent,
data: { title: "ERROR" },
},

{
path: "ehr",
redirectTo: "",
pathMatch: "full",
data: { title: "Data Browser" },
},
{
path: "survey",
Expand Down Expand Up @@ -179,6 +175,12 @@ const routes: Routes = [
},
],
},
{
path: "error",
pathMatch: "full",
component: EmergencyComponent,
data: { title: "" },
}
];

@NgModule({
Expand Down

0 comments on commit 73bb4b8

Please sign in to comment.