Skip to content

Commit b27852e

Browse files
committed
improve time columns UI
1 parent 0224c0b commit b27852e

File tree

1 file changed

+13
-3
lines changed
  • client/packages/lowcoder/src/pages/setting/organization

1 file changed

+13
-3
lines changed

client/packages/lowcoder/src/pages/setting/organization/orgList.tsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { isSaasMode } from "util/envUtils";
1919
import { selectSystemConfig } from "redux/selectors/configSelectors";
2020
import { default as Form } from "antd/es/form";
2121
import { default as Input } from "antd/es/input";
22-
import { Pagination, Spin } from "antd";
22+
import { Pagination, Spin, Tooltip } from "antd";
2323
import { getUser } from "redux/selectors/usersSelectors";
2424
import { getOrgCreateStatus } from "redux/selectors/orgSelectors";
2525
import { useWorkspaceManager } from "util/useWorkspaceManager";
@@ -279,7 +279,12 @@ function OrganizationSetting() {
279279
width: "150px",
280280
render: (createdAt: number) => {
281281
if (!createdAt) return "-";
282-
return dayjs.unix(createdAt).fromNow();
282+
return (
283+
<Tooltip title={dayjs.unix(createdAt).format("YYYY/MM/DD HH:mm:ss")}
284+
placement="bottom">
285+
<span style={{ color: "#8b8fa3" }}>{dayjs.unix(createdAt).fromNow()}</span>
286+
</Tooltip>
287+
);
283288
},
284289
},
285290
{
@@ -288,7 +293,12 @@ function OrganizationSetting() {
288293
width: "150px",
289294
render: (updatedAt: number) => {
290295
if (!updatedAt) return "-";
291-
return dayjs.unix(updatedAt).fromNow();
296+
return (
297+
<Tooltip title={dayjs.unix(updatedAt).format("YYYY/MM/DD HH:mm:ss")}
298+
placement="bottom">
299+
<span style={{ color: "#8b8fa3" }}>{dayjs.unix(updatedAt).fromNow()}</span>
300+
</Tooltip>
301+
);
292302
},
293303
},
294304
{ title: " ", dataIndex: "operation", width: "208px" },

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy