diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index a775781e8..e21c149c0 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -211,21 +211,21 @@ const routes: Routes = [ canActivate: [AuthGuard], }, { - path: 'charts/:connection-id', + path: 'panels/:connection-id', loadComponent: () => import('./components/charts/charts-list/charts-list.component').then((m) => m.ChartsListComponent), canActivate: [AuthGuard], title: 'Saved Queries | Rocketadmin', }, { - path: 'charts/:connection-id/new', + path: 'panels/:connection-id/new', loadComponent: () => import('./components/charts/chart-edit/chart-edit.component').then((m) => m.ChartEditComponent), canActivate: [AuthGuard], title: 'Create Query | Rocketadmin', }, { - path: 'charts/:connection-id/:query-id', + path: 'panels/:connection-id/:query-id', loadComponent: () => import('./components/charts/chart-edit/chart-edit.component').then((m) => m.ChartEditComponent), canActivate: [AuthGuard], diff --git a/frontend/src/app/components/charts/chart-edit/chart-edit.component.html b/frontend/src/app/components/charts/chart-edit/chart-edit.component.html index f37748f0b..68d4016ad 100644 --- a/frontend/src/app/components/charts/chart-edit/chart-edit.component.html +++ b/frontend/src/app/components/charts/chart-edit/chart-edit.component.html @@ -9,7 +9,7 @@
-

{{ isEditMode() ? 'Edit widget' : 'Create widget' }}

+

{{ isEditMode() ? 'Edit panel' : 'Create panel' }}

@if (loading()) { @@ -538,7 +538,7 @@

Query results ({{ testResults().length }} rows)

@if (!loading()) {
- Back + Back