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:
Sebastian Malton authored and GitHub committed 2022-10-11 10:58:46 -04:00
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()}