Project

General

Profile

Bug #31546

cant use customBreadcrumbs in pagelayout

Added by Maria Agaphontzev over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

When trying to pass a component to customBreadctumbs while using pageLayout there is an error as it's trying to render an object `{customBreadctumbs: your_component_here}` instead the component itself
```
Uncaught Invariant Violation: Objects are not valid as a React child (found: object with keys {customBreadcrumbs}). If you meant to render a collection of children, use an array instead.
in div (created by PageLayout)
in div (created by PageLayout)
in div (created by PageLayout)
in PageLayout (created by AuditsPage)
```

Associated revisions

Revision 3080f723 (diff)
Added by Maria Agaphontzev over 2 years ago

Fixes #31546 - cant use customBreadcrumbs in pagelayout

History

#1 Updated by Maria Agaphontzev over 2 years ago

  • Description updated (diff)

#2 Updated by Maria Agaphontzev over 2 years ago

  • Subject changed from cant use customBreadctumbs in pagelayout to cant use customBreadcrumbs in pagelayout

#3 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8217 added

#4 Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 2.4.0 added

#5 Updated by Maria Agaphontzev over 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF