Skip to content

Commit

Permalink
merge integration to validation
Browse files Browse the repository at this point in the history
  • Loading branch information
b4pm-devops committed Jul 18, 2024
2 parents ba2529a + 6a98202 commit c3be5ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class PostProcessingBundleComponent implements OnInit, OnDestroy {
}
});

// Add new array with filter on postProcessingWithoutSection
// Replace the new array with filter on postProcessingWithoutSection
if (postProcessingWithoutSectionWithFilter.length > 0) {
this.postProcessingWithoutSection = postProcessingWithoutSectionWithFilter
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{{ memoryLoad }}
</div>
<button
*ngIf="!isCalculationRunning"
*ngIf="!isCalculationRunning && displayIconInfoMemoryCpu"
mat-button
[matTooltip]="'Last metrics recorded from file system. The memory unit is in ' + memoryUnit "
color='accent'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class StudyCaseExecutionLoggingComponent implements OnInit, OnDestroy, Af
public memoryLoad: string;
public memoryUnit: string;
public displayMemoryCpu: boolean;
public displayIconInfoMemoryCpu: boolean;
public isCalculationRunning: boolean;

public bottomAnchorLog: boolean;
Expand Down Expand Up @@ -70,6 +71,7 @@ export class StudyCaseExecutionLoggingComponent implements OnInit, OnDestroy, Af
this.memoryLoad = '----';
this.isCalculationRunning = false;
this.displayMemoryCpu = false;
this.displayIconInfoMemoryCpu = false;
this.memoryUnit = "";
}

Expand Down Expand Up @@ -246,6 +248,7 @@ export class StudyCaseExecutionLoggingComponent implements OnInit, OnDestroy, Af
if ((this.cpuLoad !== null && this.cpuLoad !== undefined && this.cpuLoad.length > 0) && (this.memoryLoad !== null && this.memoryLoad !== undefined && this.memoryLoad.length > 0)) {
this.displayMemoryCpu = true;
if (this.memoryLoad !== "----") {
this.displayIconInfoMemoryCpu = true;
if (this.memoryLoad.includes("MB")) {
this.memoryUnit = "Megabyte"
}
Expand Down

0 comments on commit c3be5ad

Please sign in to comment.