base/ts/mui: Remove unnecessary disables for post create dialog

This commit is contained in:
Mustafa Gezen 2023-08-26 18:36:47 +02:00
parent 821ad656d9
commit 284512f8fd

View file

@ -99,15 +99,10 @@ export const NewResource = <T extends StandardResource>(
return (
<>
{props.showDialog && res && (
<Dialog
disableEscapeKeyDown
disableScrollLock
open>
<Dialog disableEscapeKeyDown open>
{props.showDialog(res)}
<DialogActions>
<Button onClick={navigateToResource}>
Go to resource
</Button>
<Button onClick={navigateToResource}>Go to resource</Button>
</DialogActions>
</Dialog>
)}