mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-27 23:27:58 +00:00
Auto Close on pop ups after add button click
This commit is contained in:
parent
a0c74b6a4e
commit
d10b88ac78
@ -228,9 +228,9 @@ export default function Dashboard() {
|
|||||||
</AlertDialogHeader>
|
</AlertDialogHeader>
|
||||||
<AlertDialogFooter>
|
<AlertDialogFooter>
|
||||||
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
||||||
<Button onClick={add} disabled={!name || !publicURL || !serverId}>
|
<AlertDialogAction onClick={add} disabled={!name || !publicURL || !serverId}>
|
||||||
Add
|
Add
|
||||||
</Button>
|
</AlertDialogAction>
|
||||||
</AlertDialogFooter>
|
</AlertDialogFooter>
|
||||||
</AlertDialogContent>
|
</AlertDialogContent>
|
||||||
</AlertDialog>
|
</AlertDialog>
|
||||||
|
|||||||
@ -265,7 +265,7 @@ export default function Dashboard() {
|
|||||||
</AlertDialogHeader>
|
</AlertDialogHeader>
|
||||||
<AlertDialogFooter>
|
<AlertDialogFooter>
|
||||||
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
||||||
<Button onClick={add}>Add</Button>
|
<AlertDialogAction onClick={add}>Add</AlertDialogAction>
|
||||||
</AlertDialogFooter>
|
</AlertDialogFooter>
|
||||||
</AlertDialogContent>
|
</AlertDialogContent>
|
||||||
</AlertDialog>
|
</AlertDialog>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user