Skip to content

Commit

Permalink
dropdown item fix, forms module import fix, data access property fix (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Jan 6, 2022
1 parent 810bbb4 commit f2fcc5f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ <h5 class="modal-title" id="modal-basic-title">Delete project</h5>

</ng-template>

<span>
<button class="edit btn btn-sm btn-primary" (click)="open(content)" ngbDropdownItem>Delete
<button class="edit btn btn-sm" (click)="open(content)" ngbDropdownItem>Delete
</button>
</span>

4 changes: 2 additions & 2 deletions src/app/item-detail/item-detail.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { ZeroErrorToleranceWarningComponent } from "./zero-error-tolerance-warni
import { HighchartsChartModule } from "highcharts-angular";
import { LabelChartComponent } from "./label-chart/label-chart.component";
import { AnalyzeChartsComponent } from "./analyze-charts/analyze-charts.component";
import { ReactiveFormsModule } from "@angular/forms";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { LabelHealthComponent } from "./request-stats/label-health/label-health.component";
import { LabelTrendComponent } from "./label-trend/label-trend.component";
import { StatsCompareComponent } from "./stats-compare/stats-compare.component";
Expand All @@ -38,7 +38,7 @@ const routes: Routes = [ {
CreateNewShareLinkComponent, MonitoringStatsComponent ],
imports: [
CommonModule, NgbModule, RouterModule.forRoot(routes), DataTableModule, SharedItemModule, SharedModule, HighchartsChartModule,
ReactiveFormsModule,
ReactiveFormsModule, FormsModule,
],
exports: []
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ <h5 class="modal-title" id="modal-basic-title">Choose test run to compare</h5>
<tbody *ngIf="items.data.length > 0">
<tr *ngFor="let _ of mf.data">
<td>
{{_.maxVu}}
{{_.overview.maxVu}}
</td>
<td>
{{_.duration}}
{{_.overview.duration}}
</td>
<td>
{{_.environment}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ <h5 class="modal-title" id="modal-basic-title">Delete test</h5>

</ng-template>

<button class="btn btn-sm" (click)="open(content)" ngbDropdownItem>
<button class="btn btn-sm dropdown-item" (click)="open(content)" ngbDropdownItem>
Delete
</button>
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ <h5 class="modal-title" id="modal-basic-title">Edit test item</h5>

</ng-template>

<button class="edit btn btn-sm" (click)="open(content)" ngbDropdownItem> Edit</button>
<button class="edit btn btn-sm dropdown-item" (click)="open(content)" ngbDropdownItem> Edit</button>
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ <h6>Test Report Top Statistics Bar</h6>

</ng-template>

<button class="edit btn btn-sm btn-primary" (click)="open(content)" ngbDropdownItem> Settings</button>
<button class="edit btn btn-sm dropdown-item" (click)="open(content)" ngbDropdownItem> Settings</button>

0 comments on commit f2fcc5f

Please sign in to comment.