mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
F OpenNebula/one#6443: Add data cy to group and view menu (#2888)
(cherry picked from commit 779a0176c35a87e1e111030c0587cf777461adc9)
This commit is contained in:
parent
f2380823dd
commit
2abb92c1be
@ -45,6 +45,7 @@ const ButtonGroup = memo(
|
||||
disabled={disabled}
|
||||
variant={isSelected ? 'contained' : 'outlined'}
|
||||
color="secondary"
|
||||
data-cy={`group-${ID}`}
|
||||
onClick={handleClick}
|
||||
sx={{
|
||||
boxShadow: 'none !important',
|
||||
|
@ -39,6 +39,7 @@ const ButtonView = memo(
|
||||
fullWidth
|
||||
color="debug"
|
||||
variant="outlined"
|
||||
data-cy={`view-${view}`}
|
||||
onClick={() => {
|
||||
view && !isCurrentView && changeView(view)
|
||||
handleClick()
|
||||
|
Loading…
x
Reference in New Issue
Block a user