File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Pages/Shared/ConfigMapSecret
components/ResourceBrowser/ResourceList Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1244,7 +1244,7 @@ export const ConfigMapSecretContainer = ({
1244
1244
return (
1245
1245
< >
1246
1246
< Prompt when = { shouldPrompt } message = { checkIfPathIsMatching ( location . pathname ) } />
1247
- < div className = "configmap-secret-container flexbox w-100 dc__content-space h-100 dc__position-rel " >
1247
+ < div className = "configmap-secret-container flexbox w-100 dc__content-space h-100" >
1248
1248
< div className = "p-8 flexbox flex-grow-1 mw-none" >
1249
1249
< div
1250
1250
className = { `br-4 dc__overflow-hidden h-100 bg__primary flex-grow-1 ${ isExpressEditView ? 'border__primary-warning' : 'border__primary' } ` }
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import {
22
22
APP_SELECTOR_STYLES ,
23
23
AppSelectorDropdownIndicator ,
24
24
DocLink ,
25
+ DocLinkProps ,
25
26
Icon ,
26
27
PopupMenu ,
27
28
ValueContainerWithLoadingShimmer ,
@@ -156,17 +157,17 @@ export default ClusterSelector
156
157
export const unauthorizedInfoText = ( nodeType ?: string ) => {
157
158
const emptyStateData = {
158
159
text : ERROR_SCREEN_SUBTITLE ,
159
- link : 'K8S_RESOURCES_PERMISSIONS' as const ,
160
+ link : 'K8S_RESOURCES_PERMISSIONS' as DocLinkProps [ 'docLinkKey' ] ,
160
161
linkText : ERROR_SCREEN_LEARN_MORE ,
161
162
}
162
163
163
164
if ( nodeType === SIDEBAR_KEYS . overviewGVK . Kind . toLowerCase ( ) ) {
164
165
emptyStateData . text = clusterOverviewNodeText ( true )
165
- emptyStateData . link = 'K8S_RESOURCES_PERMISSIONS '
166
+ emptyStateData . link = 'GLOBAL_CONFIG_PERMISSION '
166
167
emptyStateData . linkText = LEARN_MORE
167
168
} else if ( nodeType === SIDEBAR_KEYS . nodeGVK . Kind . toLowerCase ( ) ) {
168
169
emptyStateData . text = clusterOverviewNodeText ( false )
169
- emptyStateData . link = 'K8S_RESOURCES_PERMISSIONS '
170
+ emptyStateData . link = 'GLOBAL_CONFIG_PERMISSION '
170
171
emptyStateData . linkText = LEARN_MORE
171
172
}
172
173
You can’t perform that action at this time.
0 commit comments