mirror of
https://github.com/lensapp/lens.git
synced 2024-09-11 09:25:26 +03:00
chore: Fixup use of ServiceAccount to use getId
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
18b89d9a85
commit
74cf677b1b
@ -86,7 +86,7 @@ class NonInjectedClusterRoleBindingDialog extends React.Component<ClusterRoleBin
|
||||
}
|
||||
|
||||
@observable selectedRoleRef: ClusterRole | undefined = undefined;
|
||||
selectedAccounts = new ObservableHashSet<ServiceAccount>([], sa => sa.metadata.uid);
|
||||
selectedAccounts = new ObservableHashSet<ServiceAccount>([], sa => sa.getId());
|
||||
selectedUsers = observable.set<string>([]);
|
||||
selectedGroups = observable.set<string>([]);
|
||||
|
||||
|
@ -73,7 +73,7 @@ class NonInjectedRoleBindingDialog extends React.Component<RoleBindingDialogProp
|
||||
@observable.ref selectedRoleRef: Role | ClusterRole | null | undefined = null;
|
||||
@observable bindingName = "";
|
||||
@observable bindingNamespace: string | null = null;
|
||||
selectedAccounts = new ObservableHashSet<ServiceAccount>([], sa => sa.metadata.uid);
|
||||
selectedAccounts = new ObservableHashSet<ServiceAccount>([], sa => sa.getId());
|
||||
selectedUsers = observable.set<string>([]);
|
||||
selectedGroups = observable.set<string>([]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user