1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

L #~: fix lint (#1661)

(cherry picked from commit a178750a10da9f939b9685a4b99c3cee05587fd6)
This commit is contained in:
Jorge Miguel Lobo Escalona 2021-12-10 12:15:13 +01:00 committed by Tino Vazquez
parent 02fa999588
commit 7f7c7d3074
No known key found for this signature in database
GPG Key ID: 14201E424D02047E
2 changed files with 5 additions and 2 deletions

View File

@ -89,7 +89,10 @@ const Storage = ({ hypervisor }) => {
{
cy: 'attach-volatile',
name: T.Volatile,
dialogProps: { title: T.AttachVolatile, dataCy: 'modal-attach-volatile' },
dialogProps: {
title: T.AttachVolatile,
dataCy: 'modal-attach-volatile',
},
form: () => VolatileSteps({ hypervisor }),
onSubmit: (image) => append(mapNameFunction(image, disks.length)),
},

View File

@ -62,7 +62,7 @@ const SidebarCollapseItem = ({ label = '', routes = [], icon: Icon }) => {
<ListItemText
data-cy={label.toLocaleLowerCase()}
primary={label}
{...expanded && {className: "open"}}
{...(expanded && { className: 'open' })}
primaryTypographyProps={{ variant: 'body1' }}
/>
{expanded ? <CollapseIcon /> : <ExpandMoreIcon />}