Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Feb 12, 2025
1 parent be8595e commit 5d46544
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/pages/tools/community-repos/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { Radio, RadioGroup, FormControlLabel } from "@mui/material";
import { CippFormCondition } from "/src/components/CippComponents/CippFormCondition";
import AddIcon from "@mui/icons-material/Add";
import { Box } from "@mui/system";
import { Add, AddBox, ForkLeft, OpenInNew } from "@mui/icons-material";
import { Add, AddBox, Close, ForkLeft, OpenInNew } from "@mui/icons-material";
import { CippApiResults } from "/src/components/CippComponents/CippApiResults";
import CippFormComponent from "../../../components/CippComponents/CippFormComponent";
import { ApiGetCall } from "../../../api/ApiCall";
Expand Down Expand Up @@ -264,13 +264,14 @@ const Page = () => {
<CippApiResults apiObject={createMutation} />
</DialogContent>
<DialogActions>
<Button variant="outlined" onClick={() => setOpenCreate(false)}>
<Button variant="outlined" onClick={() => setOpenCreate(false)} startIcon={<Close />}>
Cancel
</Button>
<Button
variant="contained"
type="submit"
onClick={createForm.handleSubmit(handleCreateRepo)}
startIcon={<Add />}
>
Create
</Button>
Expand Down Expand Up @@ -445,10 +446,18 @@ const Page = () => {
</Box>
</DialogContent>
<DialogActions>
<Button variant="outlined" onClick={() => setOpenSearch(false)}>
<Button variant="outlined" onClick={() => setOpenSearch(false)} startIcon={<Close />}>
Close
</Button>
<Button variant="contained" onClick={() => handleSearch()}>
<Button
variant="contained"
onClick={() => handleSearch()}
startIcon={
<SvgIcon>
<MagnifyingGlassIcon />
</SvgIcon>
}
>
Search
</Button>
</DialogActions>
Expand Down

0 comments on commit 5d46544

Please sign in to comment.