mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Display full featured header when creating policies from policy page (#106715)
This commit is contained in:
parent
2b34cd3572
commit
d66e12e418
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ export const CreatePackagePolicyPageLayout: React.FunctionComponent<{
|
|||
'data-test-subj': dataTestSubj,
|
||||
}) => {
|
||||
const pageTitle = useMemo(() => {
|
||||
if ((from === 'package' || from === 'package-edit' || from === 'edit') && packageInfo) {
|
||||
if (
|
||||
(from === 'package' || from === 'package-edit' || from === 'edit' || from === 'policy') &&
|
||||
packageInfo
|
||||
) {
|
||||
return (
|
||||
<EuiFlexGroup alignItems="center" gutterSize="m">
|
||||
<EuiFlexItem grow={false}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue