Skip to content

Commit e517375

Browse files
committed
completition of issue #33
1 parent dbe99ca commit e517375

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

frontend/orca_data_converter/src/app/app-routing.module.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { NgModule } from '@angular/core';
22
import { RouterModule, Routes } from '@angular/router';
3-
import { GDashboardComponent } from './views/gaussianDashboard/gdashboard.component';
3+
import { DashboardComponent } from './views/dashboard/dashboard.component';
44

55
const routes: Routes = [
6-
{ path: 'home1', component: GDashboardComponent }
6+
{ path: 'home1', component: DashboardComponent }
77
];
88

99
@NgModule({
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div class="filter-wrapper row" *ngIf="gaussianDashboard == '/' ">
1+
<div class="filter-wrapper row" *ngIf="dashboard == '/' ">
22
<div class="col-md-3 offset-md-3">
3-
<app-gaussianDashboard appendTo="body" [options]="options" (onPanelHide)="onPanelHide($event)"></app-gaussianDashboard>
3+
<app-dashboard appendTo="body" [options]="options" (onPanelHide)="onPanelHide($event)"></app-dashboard>
44
</div>
55
</div>
66
<router-outlet></router-outlet>

frontend/orca_data_converter/src/app/app.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import {firstValueFrom} from 'rxjs';
88
styleUrls: ['./app.component.css']
99
})
1010
export class AppComponent implements OnInit {
11-
gaussianDashboard:any;
11+
dashboard:any;
1212

1313

1414
constructor(private http: HttpClient) {
15-
this.gaussianDashboard = window.location.pathname
15+
this.dashboard = window.location.pathname
1616
}
1717

1818
async ngOnInit(): Promise<void> {

frontend/orca_data_converter/src/app/views/gaussianDashboard/gdashboard.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface BrandsGroup {
1717
}
1818

1919
@Component({
20-
selector: 'app-gdashboard',
20+
selector: 'app-gaussianDashboard',
2121
templateUrl: './gdashboard.component.html',
2222
styleUrls: ['./gdashboard.component.css']
2323
})

0 commit comments

Comments
 (0)