Use .status.phase instead of computing it for Pod.getStatusMessage (#4286)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-09 09:33:42 -05:00
1 parent b52bd29784
commit 200061d386
2 files changed
+41 -48

No files matched your search

@@ -69,7 +69,7 @@ export class Pods extends React.Component<Props> {
formatters: {
tableView: true,
},
children: Object.keys(state).map(status => (
children: Object.keys(state).map((status: keyof typeof state) => (
<Fragment key={status}>
<div className="title">
{name} <span className="text-secondary">({status}{ready ? ", ready" : ""})</span>