]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.ts
import quincy beta 17.1.0
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / usage-bar / usage-bar.component.ts
index fb0dbd9a978504fb6b8f469c97863a56cdf5e146..bb11e4e80c80f128f217dde4c70b5aeab6df206d 100644 (file)
@@ -1,5 +1,7 @@
 import { Component, Input, OnChanges } from '@angular/core';
 
+import _ from 'lodash';
+
 @Component({
   selector: 'cd-usage-bar',
   templateUrl: './usage-bar.component.html',
@@ -11,6 +13,10 @@ export class UsageBarComponent implements OnChanges {
   @Input()
   used: number;
   @Input()
+  warningThreshold: number;
+  @Input()
+  errorThreshold: number;
+  @Input()
   isBinary = true;
   @Input()
   decimals = 0;