mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(app/environment): console errors related to usage of React components [EE-3760] (#7310)
This commit is contained in:
parent
728e885b9d
commit
b059641c80
2 changed files with 6 additions and 2 deletions
|
@ -27,6 +27,10 @@ export function Breadcrumbs({ breadcrumbs }: Props) {
|
|||
}
|
||||
|
||||
function renderCrumb(crumb: Crumb | string) {
|
||||
if (!crumb) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (typeof crumb === 'string') {
|
||||
return crumb;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue