fix(xo-web/backup-ng/new): fix selected SRs issues (#3352)

Issue introduced in ec869ffd
This commit is contained in:
badrAZ 2018-08-23 11:32:30 +02:00 committed by Julien Fontanet
parent 00d1985cf9
commit ecc33f46ab

View File

@ -773,9 +773,9 @@ export default [
{map(state.srs, (id, key) => (
<Li key={id}>
{renderXoItemFromId(id)}{' '}
{srsById !== undefined &&
{!isEmpty(srsById) &&
state.crMode &&
srsById[id].SR_type === 'lvm' && (
get(() => srsById[id].SR_type) === 'lvm' && (
<Tooltip
content={_('crOnThickProvisionedSrWarning')}
>