mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Do not show Created on DetailsPane when there's no timestamp. (#6984)
This commit is contained in:
1 parent
305c4a5573
commit
8634c3b56f
3 files changed
+1
-76
No files matched your search
@@ -62,7 +62,7 @@ const NonInjectedKubeObjectMeta = observer(({
|
||||
|
||||
return (
|
||||
<>
|
||||
<DrawerItem name="Created" hidden={isHidden("creationTimestamp")}>
|
||||
<DrawerItem name="Created" hidden={isHidden("creationTimestamp") || !creationTimestamp}>
|
||||
<KubeObjectAge object={object} compact={false} />
|
||||
{" ago "}
|
||||
{creationTimestamp && <LocaleDate date={creationTimestamp} />}
|
||||
|
||||
Reference in new issue
Block a user