Skip to content

Commit

Permalink
Merge pull request #783 from barrymcgee/check-for-status
Browse files Browse the repository at this point in the history
Check for status.since before splitting
  • Loading branch information
hatched authored Dec 2, 2020
2 parents 06ec077 + cdd2c47 commit 3bc5a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ModelTableList/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function getStatusValue(status, key) {
returnValue = status.controllerName;
break;
case "status.since":
returnValue = status.status.since.split("T")[0];
returnValue = status.status.since?.split("T")[0];
break;
default:
console.log(`unsupported status value key: ${key}`);
Expand Down

0 comments on commit 3bc5a04

Please sign in to comment.