mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
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:
parent
4144eadb4e
commit
c1e553ccab
@ -184,9 +184,13 @@
|
|||||||
[selectionLimit]="4"
|
[selectionLimit]="4"
|
||||||
(selection)="appSelection()">
|
(selection)="appSelection()">
|
||||||
</cd-select-badges>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- CRUSH -->
|
<!-- CRUSH -->
|
||||||
<div *ngIf="isErasure || isReplicated">
|
<div *ngIf="isErasure || isReplicated">
|
||||||
|
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
.icon-warning-color {
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user