mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-25 02:57:57 +00:00
Fixed z index issue when stream table was refreshing.
This commit is contained in:
parent
2da8273de6
commit
35d95c47c7
2 changed files with 13 additions and 2 deletions
|
|
@ -27,7 +27,8 @@ const ConfirmationDialog = ({
|
|||
cancelLabel = 'Cancel',
|
||||
actionKey,
|
||||
onSuppressChange,
|
||||
size = 'md', // Add default size parameter - md is a medium width
|
||||
size = 'md',
|
||||
zIndex = 1000,
|
||||
}) => {
|
||||
const suppressWarning = useWarningsStore((s) => s.suppressWarning);
|
||||
const isWarningSuppressed = useWarningsStore((s) => s.isWarningSuppressed);
|
||||
|
|
@ -50,7 +51,14 @@ const ConfirmationDialog = ({
|
|||
};
|
||||
|
||||
return (
|
||||
<Modal opened={opened} onClose={onClose} title={title} size={size} centered>
|
||||
<Modal
|
||||
opened={opened}
|
||||
onClose={onClose}
|
||||
title={title}
|
||||
size={size}
|
||||
centered
|
||||
zIndex={zIndex}
|
||||
>
|
||||
<Box mb={20}>{message}</Box>
|
||||
|
||||
{actionKey && (
|
||||
|
|
|
|||
|
|
@ -447,6 +447,7 @@ const GroupManager = React.memo(({ isOpen, onClose }) => {
|
|||
title="Group Manager"
|
||||
size="lg"
|
||||
scrollAreaComponent={ScrollArea.Autosize}
|
||||
zIndex={2000}
|
||||
>
|
||||
<Stack>
|
||||
<Alert icon={<AlertCircle size={16} />} color="blue" variant="light">
|
||||
|
|
@ -631,6 +632,7 @@ This action cannot be undone.`}
|
|||
actionKey="delete-group"
|
||||
onSuppressChange={suppressWarning}
|
||||
size="md"
|
||||
zIndex={2100}
|
||||
/>
|
||||
|
||||
<ConfirmationDialog
|
||||
|
|
@ -652,6 +654,7 @@ This action cannot be undone.`}
|
|||
actionKey="cleanup-groups"
|
||||
onSuppressChange={suppressWarning}
|
||||
size="md"
|
||||
zIndex={2100}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue