mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Show system roles on Roles page (#355)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
1 parent
5cd00bd77a
commit
1c324a3ced
3 files changed
+2
-36
No files matched your search
@@ -42,22 +42,6 @@ export class RoleBindings extends React.Component<Props> {
|
||||
(binding: RoleBinding) => binding.getSubjectNames(),
|
||||
]}
|
||||
renderHeaderTitle={<Trans>Role Bindings</Trans>}
|
||||
filterItems={[
|
||||
(items: RoleBinding[]) => items.filter(KubeObject.isNonSystem),
|
||||
]}
|
||||
customizeHeader={({ info }) => ({
|
||||
info: (
|
||||
<>
|
||||
{info}
|
||||
<Icon
|
||||
small
|
||||
material="help_outline"
|
||||
className="help-icon"
|
||||
tooltip={<Trans>Excluded items with "system:" prefix</Trans>}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
})}
|
||||
renderTableHeader={[
|
||||
{ title: <Trans>Name</Trans>, className: "name", sortBy: sortBy.name },
|
||||
{ title: <Trans>Bindings</Trans>, className: "bindings", sortBy: sortBy.bindings },
|
||||
|
||||
Reference in new issue
Block a user