mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-24 02:46:28 +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>
|
||||
<AlertDialogFooter>
|
||||
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
||||
<Button onClick={add} disabled={!name || !publicURL || !serverId}>
|
||||
<AlertDialogAction onClick={add} disabled={!name || !publicURL || !serverId}>
|
||||
Add
|
||||
</Button>
|
||||
</AlertDialogAction>
|
||||
</AlertDialogFooter>
|
||||
</AlertDialogContent>
|
||||
</AlertDialog>
|
||||
|
||||
@ -265,7 +265,7 @@ export default function Dashboard() {
|
||||
</AlertDialogHeader>
|
||||
<AlertDialogFooter>
|
||||
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
||||
<Button onClick={add}>Add</Button>
|
||||
<AlertDialogAction onClick={add}>Add</AlertDialogAction>
|
||||
</AlertDialogFooter>
|
||||
</AlertDialogContent>
|
||||
</AlertDialog>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user