Add WallpaperIcon to update info dialog - Consistent with event creation form

This commit is contained in:
Starstrike
2025-05-01 16:06:41 -04:00
parent b2c7cd49e9
commit 3a7f62fdbc

View File

@@ -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')}