mirror of
https://github.com/peridotbuild/peridot.git
synced 2025-01-02 07:00:56 +00:00
base/ts/mui: Remove unnecessary disables for post create dialog
This commit is contained in:
parent
821ad656d9
commit
284512f8fd
1 changed files with 2 additions and 7 deletions
|
@ -99,15 +99,10 @@ export const NewResource = <T extends StandardResource>(
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{props.showDialog && res && (
|
{props.showDialog && res && (
|
||||||
<Dialog
|
<Dialog disableEscapeKeyDown open>
|
||||||
disableEscapeKeyDown
|
|
||||||
disableScrollLock
|
|
||||||
open>
|
|
||||||
{props.showDialog(res)}
|
{props.showDialog(res)}
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<Button onClick={navigateToResource}>
|
<Button onClick={navigateToResource}>Go to resource</Button>
|
||||||
Go to resource
|
|
||||||
</Button>
|
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue