minor textual changes

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-06-09 08:53:59 -04:00
1 parent 738cf564a0
commit 4d67fe80b7
2 files changed
+3 -7

No files matched your search

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