Add WallpaperIcon to update info dialog - Consistent with event creation form
This commit is contained in:
@@ -33,6 +33,7 @@ import {
|
|||||||
import DeleteIcon from '@mui/icons-material/Delete';
|
import DeleteIcon from '@mui/icons-material/Delete';
|
||||||
import EditIcon from '@mui/icons-material/Edit';
|
import EditIcon from '@mui/icons-material/Edit';
|
||||||
import AddIcon from '@mui/icons-material/Add';
|
import AddIcon from '@mui/icons-material/Add';
|
||||||
|
import WallpaperIcon from '@mui/icons-material/Wallpaper';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
||||||
interface RSVP {
|
interface RSVP {
|
||||||
@@ -940,6 +941,7 @@ const EventAdmin: React.FC = () => {
|
|||||||
variant="outlined"
|
variant="outlined"
|
||||||
component="label"
|
component="label"
|
||||||
fullWidth
|
fullWidth
|
||||||
|
startIcon={<WallpaperIcon />}
|
||||||
sx={{ mt: 1 }}
|
sx={{ mt: 1 }}
|
||||||
>
|
>
|
||||||
{updateForm.wallpaper ? 'Change Wallpaper' : (event.wallpaper ? 'Replace Wallpaper' : 'Upload Wallpaper')}
|
{updateForm.wallpaper ? 'Change Wallpaper' : (event.wallpaper ? 'Replace Wallpaper' : 'Upload Wallpaper')}
|
||||||
|
|||||||
Reference in New Issue
Block a user