mgr/dashboard: Warn the user when creating/editing pools without application tags

Added warning icon when no application tag is selected

Fixes: https://tracker.ceph.com/issues/40676
Signed-off-by: Waad Alkhoury <walkhour@redhat.com>
This commit is contained in:
Waad Alkhoury 2021-04-01 11:07:14 +02:00
parent 4144eadb4e
commit c1e553ccab
2 changed files with 8 additions and 1 deletions

View File

@ -184,9 +184,13 @@
[selectionLimit]="4"
(selection)="appSelection()">
</cd-select-badges>
<i *ngIf="data.applications.selected <= 0"
i18n-title
title="Pools should be associated with an application tag"
class="{{icons.warning}} icon-warning-color">
</i>
</div>
</div>
<!-- CRUSH -->
<div *ngIf="isErasure || isReplicated">

View File

@ -0,0 +1,3 @@
.icon-warning-color {
margin-left: 3px;
}