Skip to content

Commit e22237c

Browse files
Merge pull request #140 from openshift-cherrypick-robot/cherry-pick-129-to-release-4.21
[release-4.21] CNV-74699: Node network configuration title disappears for non-admin user
2 parents e3f74f2 + 7019f75 commit e22237c

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/views/nodenetworkconfiguration/Topology.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ import {
1111
NodeNetworkConfigurationEnactmentModelGroupVersionKind,
1212
NodeNetworkStateModelGroupVersionKind,
1313
} from '@models';
14-
import { ListPageBody, useK8sWatchResource } from '@openshift-console/dynamic-plugin-sdk';
14+
import {
15+
ListPageBody,
16+
ListPageHeader,
17+
useK8sWatchResource,
18+
} from '@openshift-console/dynamic-plugin-sdk';
1519
import { Popover } from '@patternfly/react-core';
1620
import {
1721
action,
@@ -133,9 +137,12 @@ const Topology: FC = () => {
133137

134138
if (statesError && statesError?.response?.status === 403)
135139
return (
136-
<ListPageBody>
137-
<AccessDenied message={statesError.message} />
138-
</ListPageBody>
140+
<>
141+
<ListPageHeader title="Node network configuration" />
142+
<ListPageBody>
143+
<AccessDenied message={statesError.message} />
144+
</ListPageBody>
145+
</>
139146
);
140147

141148
return (

0 commit comments

Comments
 (0)