mirror of https://github.com/rancher/ui.git
Add defaults for values not in switch
This commit is contained in:
parent
59ce6f88a3
commit
e99e342f0e
|
|
@ -124,6 +124,9 @@ export default Component.extend({
|
|||
max = parseSi(get(currentProjectLimit, key)) / (1024 ** 3);
|
||||
break;
|
||||
default:
|
||||
value = parseInt(value, 10);
|
||||
usedValue = parseInt(( get(used, key) || 0 ), 10);
|
||||
max = parseInt(get(currentProjectLimit, key), 10);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue