mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix ReactiveDuration to update as frequently as necessary (#6375)
- When used in non compact mode (eg KubeObjectMeta's age) the seconds can be displayed but previously between 10m and 180m of age, the display would only update every minute Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
51af8f8aa4
commit
4e02ccb1c7
2 files changed
+17
-13
No files matched your search
@@ -62,13 +62,7 @@ const NonInjectedKubeObjectMeta = observer(({
|
||||
<DrawerItem name="Created" hidden={isHidden("creationTimestamp")}>
|
||||
<KubeObjectAge object={object} compact={false} />
|
||||
{" ago "}
|
||||
{creationTimestamp && (
|
||||
<>
|
||||
(
|
||||
<LocaleDate date={creationTimestamp} />
|
||||
)
|
||||
</>
|
||||
)}
|
||||
{creationTimestamp && <LocaleDate date={creationTimestamp} />}
|
||||
</DrawerItem>
|
||||
<DrawerItem name="Name" hidden={isHidden("name")}>
|
||||
{getName()}
|
||||
|
||||
Reference in new issue
Block a user