This commit is contained in:
@@ -208,33 +208,35 @@ function DebouncedGroupSettingsItem({
|
||||
</Card.Section>
|
||||
<Card.Section mt={'1rem'} p={'1rem'}>
|
||||
<Stack pos={'relative'}>
|
||||
{group?.categoryName &&<Group
|
||||
style={{
|
||||
position: 'absolute',
|
||||
width: '100%',
|
||||
right: '6rem',
|
||||
top: '-3.25rem',
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
{group?.categoryName && (
|
||||
<Group
|
||||
style={{
|
||||
position: 'absolute',
|
||||
right: '1rem',
|
||||
top: '.5rem',
|
||||
width: '100%',
|
||||
right: '6rem',
|
||||
top: '-3.25rem',
|
||||
}}
|
||||
>
|
||||
<ManagementPill
|
||||
enabled={group?.enabled}
|
||||
onChange={(event: React.ChangeEvent<HTMLInputElement>) => {
|
||||
setUpdate({
|
||||
...group,
|
||||
enabled: event.target.checked ? 1 : 0,
|
||||
});
|
||||
<Box
|
||||
style={{
|
||||
position: 'absolute',
|
||||
right: '1rem',
|
||||
top: '.5rem',
|
||||
}}
|
||||
openModal={openModal}
|
||||
/>
|
||||
</Box>
|
||||
</Group>}
|
||||
>
|
||||
<ManagementPill
|
||||
enabled={group?.enabled}
|
||||
onChange={(event: React.ChangeEvent<HTMLInputElement>) => {
|
||||
setUpdate({
|
||||
...group,
|
||||
enabled: event.target.checked ? 1 : 0,
|
||||
});
|
||||
}}
|
||||
openModal={openModal}
|
||||
/>
|
||||
</Box>
|
||||
</Group>
|
||||
)}
|
||||
<DragDropContext onDragEnd={onDragEnd}>
|
||||
<Droppable droppableId={`${bookmarkGroup?.id}`}>
|
||||
{(provided: DroppableProvided) => (
|
||||
|
||||
Reference in New Issue
Block a user