feat(xo-web/SizeInput): added 'TiB' and 'PiB' units (#7382)
This commit is contained in:
parent
7890320a7d
commit
4fd2b91fc4
@ -11,6 +11,8 @@
|
|||||||
- [Stats] Support format used by XAPI 23.31
|
- [Stats] Support format used by XAPI 23.31
|
||||||
- [REST API] Export host [SMT](https://en.wikipedia.org/wiki/Simultaneous_multithreading) status at `/hosts/:id/smt` [Forum#71374](https://xcp-ng.org/forum/post/71374)
|
- [REST API] Export host [SMT](https://en.wikipedia.org/wiki/Simultaneous_multithreading) status at `/hosts/:id/smt` [Forum#71374](https://xcp-ng.org/forum/post/71374)
|
||||||
- [Home & REST API] `$container` field of an halted VM now points to a host if a VDI is on a local storage [Forum#71769](https://xcp-ng.org/forum/post/71769)
|
- [Home & REST API] `$container` field of an halted VM now points to a host if a VDI is on a local storage [Forum#71769](https://xcp-ng.org/forum/post/71769)
|
||||||
|
- [Size Input] Ability to select two new units in the dropdown (`TiB`, `PiB`) (PR [#7382](https://github.com/vatesfr/xen-orchestra/pull/7382))
|
||||||
|
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
|
||||||
@ -43,6 +45,6 @@
|
|||||||
- vhd-lib patch
|
- vhd-lib patch
|
||||||
- xo-server minor
|
- xo-server minor
|
||||||
- xo-server-audit patch
|
- xo-server-audit patch
|
||||||
- xo-web patch
|
- xo-web minor
|
||||||
|
|
||||||
<!--packages-end-->
|
<!--packages-end-->
|
||||||
|
@ -138,7 +138,7 @@ export class Range extends Component {
|
|||||||
|
|
||||||
export Toggle from './toggle'
|
export Toggle from './toggle'
|
||||||
|
|
||||||
const UNITS = ['kiB', 'MiB', 'GiB']
|
const UNITS = ['kiB', 'MiB', 'GiB', 'TiB', 'PiB']
|
||||||
const DEFAULT_UNIT = 'GiB'
|
const DEFAULT_UNIT = 'GiB'
|
||||||
|
|
||||||
export class SizeInput extends BaseComponent {
|
export class SizeInput extends BaseComponent {
|
||||||
|
Loading…
Reference in New Issue
Block a user