mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
minor textual changes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
738cf564a0
commit
4d67fe80b7
@ -191,7 +191,7 @@ export class ClusterRoleBindingDialog extends React.Component<Props> {
|
|||||||
renderContents() {
|
renderContents() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<SubTitle title="Cluster Role" />
|
<SubTitle title="Cluster Role Reference" />
|
||||||
<Select
|
<Select
|
||||||
themeName="light"
|
themeName="light"
|
||||||
placeholder="Select cluster role ..."
|
placeholder="Select cluster role ..."
|
||||||
|
|||||||
@ -209,7 +209,7 @@ export class RoleBindingDialog extends React.Component<Props> {
|
|||||||
onChange={({ value }) => this.bindingNamespace = value}
|
onChange={({ value }) => this.bindingNamespace = value}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<SubTitle title="RoleRef" />
|
<SubTitle title="Role Reference" />
|
||||||
<Select
|
<Select
|
||||||
themeName="light"
|
themeName="light"
|
||||||
placeholder="Select role or cluster role ..."
|
placeholder="Select role or cluster role ..."
|
||||||
@ -222,14 +222,10 @@ export class RoleBindingDialog extends React.Component<Props> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.selectedRoleRef = value;
|
this.selectedRoleRef = value;
|
||||||
|
|
||||||
if (this.selectedRoleRef.kind === "Role") {
|
|
||||||
this.bindingNamespace = this.selectedRoleRef.getNs();
|
|
||||||
}
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<SubTitle title="Role Binding Name" />
|
<SubTitle title="Binding Name" />
|
||||||
<Input
|
<Input
|
||||||
disabled={this.isEditing}
|
disabled={this.isEditing}
|
||||||
value={this.bindingName}
|
value={this.bindingName}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user