1
0
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:
Sebastian Malton 2021-06-09 08:53:59 -04:00
parent 738cf564a0
commit 4d67fe80b7
2 changed files with 3 additions and 7 deletions

View File

@ -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 ..."

View File

@ -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}