]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix tooltip for alerts silence matchers 51533/head
authoravanthakkar <avanjohn@gmail.com>
Wed, 17 May 2023 12:14:00 +0000 (17:44 +0530)
committeravanthakkar <avanjohn@gmail.com>
Thu, 18 May 2023 08:07:17 +0000 (13:37 +0530)
Fixes: https://tracker.ceph.com/issues/61208
Signed-off-by: avanthakkar <avanjohn@gmail.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.html

index cbd3874164feb2ffa300d8ea443fb6496cdb4e15..d95d21462851685c4a53f9cab85d942cc212fa30 100644 (file)
@@ -4,10 +4,11 @@
   <div class="input-group my-2">
     <ng-container *ngFor="let config of matcherConfig">
       <span class="input-group-text"
-            *ngIf="config.attribute === 'isRegex'"
-            [ngbTooltip]="config.tooltip">
-        <i *ngIf="matcher[config.attribute]">~</i>
-        <i *ngIf="!matcher[config.attribute]">=</i>
+            *ngIf="config.attribute === 'isRegex'">
+        <i *ngIf="matcher[config.attribute]"
+           [ngbTooltip]="config.tooltip">~</i>
+        <i *ngIf="!matcher[config.attribute]"
+           ngbTooltip="Equals">=</i>
       </span>
 
       <ng-container *ngIf="config.attribute !== 'isRegex'">