|
@@ -48,7 +48,11 @@ export default function DialogBox({
|
|
{...props}>
|
|
{...props}>
|
|
{attributes.title && (
|
|
{attributes.title && (
|
|
<DialogTitleWithCloseButton
|
|
<DialogTitleWithCloseButton
|
|
- onClose={titleCloseButton && handleClose}>
|
|
|
|
|
|
+ onClose={
|
|
|
|
+ titleCloseButton &&
|
|
|
|
+ !attributes.nonClosable &&
|
|
|
|
+ handleClose
|
|
|
|
+ }>
|
|
{attributes.title}
|
|
{attributes.title}
|
|
</DialogTitleWithCloseButton>
|
|
</DialogTitleWithCloseButton>
|
|
)}
|
|
)}
|