Ma77Ball commented on code in PR #5151:
URL: https://github.com/apache/texera/pull/5151#discussion_r3293754166
##########
frontend/src/app/app-routing.module.ts:
##########
@@ -38,28 +38,21 @@ import { DatasetDetailComponent } from
"./dashboard/component/user/user-dataset/
import { UserDatasetComponent } from
"./dashboard/component/user/user-dataset/user-dataset.component";
import { HubWorkflowDetailComponent } from
"./hub/component/workflow/detail/hub-workflow-detail.component";
import { LandingPageComponent } from
"./hub/component/landing-page/landing-page.component";
-import { DASHBOARD_ABOUT, DASHBOARD_USER_WORKFLOW } from
"./app-routing.constant";
+import { USER_WORKFLOW } from "./app-routing.constant";
import { HubSearchResultComponent } from
"./hub/component/hub-search-result/hub-search-result.component";
import { AdminSettingsComponent } from
"./dashboard/component/admin/settings/admin-settings.component";
-import { GuiConfigService } from "./common/service/gui-config.service";
-
-const rootRedirectGuard: CanActivateFn = () => {
- const config = inject(GuiConfigService);
- const router = inject(Router);
- try {
- return router.parseUrl(DASHBOARD_ABOUT);
- } catch {
- // config not loaded yet, swallow the error and let the app handle it
- }
- return true;
-};
const routes: Routes = [];
routes.push({
- path: "dashboard",
+ path: "",
component: DashboardComponent,
Review Comment:
Not to my knowledge
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]