Skip to content

Commit

Permalink
NAS-131367: Tooltip error on Apps service (#10885)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKarpov98 authored Oct 18, 2024
1 parent a66faf0 commit 57ad690
Showing 1 changed file with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,34 +1,28 @@
@if ((status$ | async); as status) {
@switch (status) {
@case (DockerStatus.Running) {
<div class="status-wrapper" [matTooltip]="statusDescription$ | async">
<div class="status-wrapper">
<ix-icon name="mdi-check-circle" class="running"></ix-icon>
<span>{{ status | mapValue: dockerStatusLabels | translate }}</span>
</div>
}

@case (DockerStatus.Initializing) {
<div
class="status-wrapper"
[matTooltip]="statusDescription$ | async"
>
<div class="status-wrapper">
<mat-spinner [diameter]="20"></mat-spinner>
<span>{{ status | mapValue: dockerStatusLabels | translate }}</span>
</div>
}

@case (DockerStatus.Stopping) {
<div
class="status-wrapper"
[matTooltip]="statusDescription$ | async"
>
<div class="status-wrapper">
<mat-spinner [diameter]="20"></mat-spinner>
<span>{{ status | mapValue: dockerStatusLabels | translate }}</span>
</div>
}

@case (DockerStatus.Stopped) {
<div class="status-wrapper" [matTooltip]="statusDescription$ | async">
<div class="status-wrapper">
<ix-icon name="stop_circle"></ix-icon>
<span>{{ status | mapValue: dockerStatusLabels | translate }}</span>
</div>
Expand All @@ -42,14 +36,14 @@
}

@case (DockerStatus.Unconfigured) {
<div class="status-wrapper" [matTooltip]="statusDescription$ | async">
<div class="status-wrapper">
<ix-icon name="settings"></ix-icon>
<span>{{ status | mapValue: dockerStatusLabels | translate }}</span>
</div>
}

@case (DockerStatus.Pending) {
<div class="status-wrapper" [matTooltip]="statusDescription$ | async">
<div class="status-wrapper">
<ix-icon name="pending"></ix-icon>
<span>{{ status | mapValue: dockerStatusLabels | translate }}</span>
</div>
Expand Down

0 comments on commit 57ad690

Please sign in to comment.