Skip to content
Snippets Groups Projects
Commit e3c1b69e authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

rename

parent 2fdc1c80
No related branches found
No related tags found
1 merge request!461Components
......@@ -9,7 +9,7 @@
</nshmp-template-plot-content>
<nshmp-template-settings>
<app-settings />
<app-plot-settings-panel />
</nshmp-template-settings>
</nshmp-template-content-container>
......
......@@ -10,7 +10,7 @@ import {ControlPanelComponent} from './components/control-panel/control-panel.co
import {CurveDataComponent} from './components/curve-data/curve-data.component';
import {ParameterSummaryComponent} from './components/parameter-summary/parameter-summary.component';
import {PlotsComponent} from './components/plots/plots.component';
import {SettingsComponent} from './components/settings/settings.component';
import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component';
import {SpectrumDataComponent} from './components/spectrum-data/spectrum-data.component';
describe('StaticHazardComponent', () => {
......@@ -26,7 +26,7 @@ describe('StaticHazardComponent', () => {
SpectrumDataComponent,
CurveDataComponent,
ControlPanelComponent,
SettingsComponent,
PlotSettingsPanelComponent,
AboutComponent,
ParameterSummaryComponent,
],
......
......@@ -13,7 +13,7 @@ import {navigation} from 'projects/nshmp-apps/src/shared/utils/navigation.utils'
import {AboutComponent} from './components/about/about.component';
import {ContentComponent} from './components/content/content.component';
import {ControlPanelComponent} from './components/control-panel/control-panel.component';
import {SettingsComponent} from './components/settings/settings.component';
import {PlotSettingsPanelComponent} from './components/plot-settings-panel/plot-settings-panel.component';
import {AppService} from './services/app.service';
/**
......@@ -29,7 +29,7 @@ import {AppService} from './services/app.service';
NshmpTemplateSettingsComponent,
ControlPanelComponent,
ContentComponent,
SettingsComponent,
PlotSettingsPanelComponent,
AboutComponent,
],
selector: 'app-app',
......
......@@ -3,15 +3,15 @@ import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
import {provideNoopAnimations} from '@angular/platform-browser/animations';
import {provideRouter} from '@angular/router';
import {SettingsComponent} from './settings.component';
import {PlotSettingsPanelComponent} from './plot-settings-panel.component';
describe('StaticHazardSettingsComponent', () => {
let component: SettingsComponent;
let fixture: ComponentFixture<SettingsComponent>;
let component: PlotSettingsPanelComponent;
let fixture: ComponentFixture<PlotSettingsPanelComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [SettingsComponent],
imports: [PlotSettingsPanelComponent],
providers: [
provideNoopAnimations(),
provideHttpClient(),
......@@ -22,7 +22,7 @@ describe('StaticHazardSettingsComponent', () => {
}));
beforeEach(() => {
fixture = TestBed.createComponent(SettingsComponent);
fixture = TestBed.createComponent(PlotSettingsPanelComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
......
......@@ -21,12 +21,12 @@ import {AppService} from '../../services/app.service';
AsyncPipe,
MatExpansionModule,
],
selector: 'app-settings',
selector: 'app-plot-settings-panel',
standalone: true,
styleUrl: './settings.component.scss',
templateUrl: './settings.component.html',
styleUrl: './plot-settings-panel.component.scss',
templateUrl: './plot-settings-panel.component.html',
})
export class SettingsComponent {
export class PlotSettingsPanelComponent {
/** Hazard plot state */
private hazardPlot = this.service.hazardPlotState;
/** Spectra plot state */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment