1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

[~] fix: add missing locale date in event view

Signed-off-by: Arthur Knoepflin <arthur@knoepflin.eu>
This commit is contained in:
Arthur Knoepflin 2021-10-01 21:53:38 +02:00
parent 5b562836a4
commit 7511b39860
No known key found for this signature in database
GPG Key ID: BB1E0D36309AD6DD

View File

@ -26,6 +26,7 @@ import { observer } from "mobx-react";
import type { KubeObject } from "../../../common/k8s-api/kube-object";
import { DrawerItem, DrawerTitle } from "../drawer";
import { cssNames } from "../../utils";
import { LocaleDate } from "../locale-date";
import { eventStore } from "./event.store";
export interface KubeEventDetailsProps {
@ -74,7 +75,7 @@ export class KubeEventDetails extends React.Component<KubeEventDetailsProps> {
{involvedObject.fieldPath}
</DrawerItem>
<DrawerItem name="Last seen">
{lastTimestamp}
<LocaleDate date={lastTimestamp} />
</DrawerItem>
</div>
);