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:
parent
02fa999588
commit
7f7c7d3074
@ -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)),
|
||||
},
|
||||
|
@ -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 />}
|
||||
|
Loading…
x
Reference in New Issue
Block a user