rework vehicle handling
This commit is contained in:
@@ -387,7 +387,7 @@ function MitgliedDetail() {
|
||||
</Typography>
|
||||
)}
|
||||
|
||||
{profile && profile.funktion.length > 0 && (
|
||||
{profile && Array.isArray(profile.funktion) && profile.funktion.length > 0 && (
|
||||
<Box sx={{ display: 'flex', gap: 0.5, mt: 1, flexWrap: 'wrap' }}>
|
||||
{profile.funktion.map((f) => (
|
||||
<Chip key={f} label={f} size="small" color="secondary" variant="outlined" />
|
||||
|
||||
Reference in New Issue
Block a user