mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
Fix string comparison with class name, again
This commit is contained in:
@@ -84,7 +84,7 @@ class Page extends React.Component<Props> {
|
|||||||
|
|
||||||
let content = [];
|
let content = [];
|
||||||
React.Children.forEach(children, child => {
|
React.Children.forEach(children, child => {
|
||||||
if (child && child.type.name !== "PageActions") {
|
if (child && child.type.name !== PageActions.name) {
|
||||||
content.push(child);
|
content.push(child);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user