Fix list sort by age (#276)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-04-19 17:49:14 +03:00
1 parent 07e2653f80
commit 6bdd247a85
26 files changed
+44 -44

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ export class Nodes extends React.Component<Props> {
[sortBy.conditions]: (node: Node) => node.getNodeConditionText(),
[sortBy.taints]: (node: Node) => node.getTaints().length,
[sortBy.roles]: (node: Node) => node.getRoleLabels(),
[sortBy.age]: (node: Node) => node.getAge(false),
[sortBy.age]: (node: Node) => node.metadata.creationTimestamp,
[sortBy.version]: (node: Node) => node.getKubeletVersion(),
}}
searchFilters={[