Skip to content

Commit

Permalink
fix(volume) snapshots can have an empty expiry and we should show tha…
Browse files Browse the repository at this point in the history
…t correctly

Signed-off-by: David Edler <[email protected]>
  • Loading branch information
edlerd committed Nov 26, 2024
1 parent 6a7b744 commit e8295c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { FormDevice } from "./formDevices";
export const UNDEFINED_DATE = "0001-01-01T00:00:00Z";

export const isoTimeToString = (isoTime: string): string => {
if (isoTime === UNDEFINED_DATE) {
if (isoTime === UNDEFINED_DATE || !isoTime) {
return "";
}

Expand Down

0 comments on commit e8295c5

Please sign in to comment.