Skip to content

Commit

Permalink
Show company ID (#1159)
Browse files Browse the repository at this point in the history
* Show company ID

We don't have a createdDate for the company entity. We can use ID to see the latest created companies.

Signed-off-by: Hongxin <[email protected]>

* update

---------

Signed-off-by: Hongxin <[email protected]>
  • Loading branch information
zhx828 authored Oct 1, 2024
1 parent 42814e8 commit 67b7a48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ export default class CompanyDetailsPage extends React.Component {
});

private columns: SearchColumn<CompanyDTO>[] = [
{
id: 'id',
Header: <span className={styles.tableHeader}>ID</span>,
accessor: 'id',
},
{
id: 'companyUserCount',
Header: <span className={styles.tableHeader}>Users</span>,
Expand Down Expand Up @@ -136,7 +141,7 @@ export default class CompanyDetailsPage extends React.Component {
minRows={1}
defaultSorted={[
{
id: 'companyName',
id: 'id',
desc: true,
},
]}
Expand Down

0 comments on commit 67b7a48

Please sign in to comment.