File tree Expand file tree Collapse file tree
web/src/components/application-detail-page/application-detail Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ require (
6767 go.uber.org/atomic v1.11.0 // indirect
6868 go.uber.org/multierr v1.6.0 // indirect
6969 go.yaml.in/yaml/v2 v2.4.2 // indirect
70- golang.org/x/crypto v0.51 .0 // indirect
70+ golang.org/x/crypto v0.52 .0 // indirect
7171 golang.org/x/net v0.55.0 // indirect
7272 golang.org/x/oauth2 v0.36.0 // indirect
7373 golang.org/x/sys v0.45.0 // indirect
Original file line number Diff line number Diff line change @@ -355,8 +355,8 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8U
355355golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5 /go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI =
356356golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 /go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI =
357357golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 /go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto =
358- golang.org/x/crypto v0.51 .0 h1:IBPXwPfKxY7cWQZ38ZCIRPI50YLeevDLlLnyC5wRGTI =
359- golang.org/x/crypto v0.51 .0 /go.mod h1:8AdwkbraGNABw2kOX6YFPs3WM22XqI4EXEd8g+x7Oc8 =
358+ golang.org/x/crypto v0.52 .0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988 =
359+ golang.org/x/crypto v0.52 .0 /go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc =
360360golang.org/x/exp v0.0.0-20190121172915-509febef88a4 /go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA =
361361golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8 /go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA =
362362golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522 /go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8 =
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ require (
7979 go.uber.org/multierr v1.10.0 // indirect
8080 go.yaml.in/yaml/v2 v2.4.3 // indirect
8181 go.yaml.in/yaml/v3 v3.0.5 // indirect
82- golang.org/x/crypto v0.51 .0 // indirect
82+ golang.org/x/crypto v0.52 .0 // indirect
8383 golang.org/x/net v0.55.0 // indirect
8484 golang.org/x/oauth2 v0.36.0 // indirect
8585 golang.org/x/sys v0.45.0 // indirect
Original file line number Diff line number Diff line change @@ -628,8 +628,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
628628golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 /go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto =
629629golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 /go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc =
630630golang.org/x/crypto v0.0.0-20220214200702-86341886e292 /go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4 =
631- golang.org/x/crypto v0.51 .0 h1:IBPXwPfKxY7cWQZ38ZCIRPI50YLeevDLlLnyC5wRGTI =
632- golang.org/x/crypto v0.51 .0 /go.mod h1:8AdwkbraGNABw2kOX6YFPs3WM22XqI4EXEd8g+x7Oc8 =
631+ golang.org/x/crypto v0.52 .0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988 =
632+ golang.org/x/crypto v0.52 .0 /go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc =
633633golang.org/x/exp v0.0.0-20190121172915-509febef88a4 /go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA =
634634golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8 /go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA =
635635golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522 /go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8 =
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ const MostRecentlySuccessfulDeployment: FC<{
137137 return < Skeleton height = { 105 } width = { 500 } /> ;
138138 }
139139
140- const date = dayjs ( deployment . startedAt * 1000 ) ;
140+ const date = deployment . startedAt ? dayjs ( deployment . startedAt * 1000 ) : null ;
141141
142142 return (
143143 < >
@@ -171,7 +171,13 @@ const MostRecentlySuccessfulDeployment: FC<{
171171 < tbody >
172172 < DetailTableRow
173173 label = "Deployed At"
174- value = { < span title = { date . format ( ) } > { date . fromNow ( ) } </ span > }
174+ value = {
175+ date ? (
176+ < span title = { date . format ( ) } > { date . fromNow ( ) } </ span >
177+ ) : (
178+ < span > { "—" } </ span >
179+ )
180+ }
175181 />
176182 < DetailTableRow
177183 label = "Artifact Versions"
You can’t perform that action at this time.
0 commit comments