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() {
|
||||
return (
|
||||
<>
|
||||
<SubTitle title="Cluster Role" />
|
||||
<SubTitle title="Cluster Role Reference" />
|
||||
<Select
|
||||
themeName="light"
|
||||
placeholder="Select cluster role ..."
|
||||
|
||||
@ -209,7 +209,7 @@ export class RoleBindingDialog extends React.Component<Props> {
|
||||
onChange={({ value }) => this.bindingNamespace = value}
|
||||
/>
|
||||
|
||||
<SubTitle title="RoleRef" />
|
||||
<SubTitle title="Role Reference" />
|
||||
<Select
|
||||
themeName="light"
|
||||
placeholder="Select role or cluster role ..."
|
||||
@ -222,14 +222,10 @@ export class RoleBindingDialog extends React.Component<Props> {
|
||||
}
|
||||
|
||||
this.selectedRoleRef = value;
|
||||
|
||||
if (this.selectedRoleRef.kind === "Role") {
|
||||
this.bindingNamespace = this.selectedRoleRef.getNs();
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
<SubTitle title="Role Binding Name" />
|
||||
<SubTitle title="Binding Name" />
|
||||
<Input
|
||||
disabled={this.isEditing}
|
||||
value={this.bindingName}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user