mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🐛 Prevent mysterious bug on group deletion
This commit is contained in:
parent
6ec92ac07b
commit
222104e051
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export function GroupListBox({viewSet}: GroupListBoxProps): JSX.Element {
|
|||
if(viewSet.resources.length === 0) {
|
||||
return <Empty>This Sophon instance has no groups.</Empty>
|
||||
}
|
||||
return viewSet.resources?.map(res => <GroupResourcePanel resource={res} key={res.value.slug}/>)
|
||||
return viewSet.resources?.map(res => <GroupResourcePanel resource={res} key={res.value?.slug}/>)
|
||||
},
|
||||
[viewSet],
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue