mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
fix: updated icon button to include disabled flag for repeatable comp (#23427)
* fix: updated icon button to include disabled flag for repeatable comp * fix: disabled drag icon for repeatable comp in published mode and added gap between icons * revert: removed button gap between accordion icons
This commit is contained in:
parent
36b6cea9d2
commit
a4d190682c
@ -439,6 +439,7 @@ const Component = ({
|
||||
<Accordion.Trigger>{displayValue}</Accordion.Trigger>
|
||||
<Accordion.Actions>
|
||||
<IconButton
|
||||
disabled={disabled}
|
||||
variant="ghost"
|
||||
onClick={onDeleteComponent}
|
||||
label={formatMessage({
|
||||
@ -449,6 +450,7 @@ const Component = ({
|
||||
<Trash />
|
||||
</IconButton>
|
||||
<IconButton
|
||||
disabled={disabled}
|
||||
ref={composedAccordionRefs}
|
||||
variant="ghost"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
|
Loading…
x
Reference in New Issue
Block a user