Skip to content

Commit 67b7a48

Browse files
authored
Show company ID (#1159)
* 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]>
1 parent 42814e8 commit 67b7a48

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Loading

src/main/webapp/app/pages/companyManagement/CompanyDetailsPage.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export default class CompanyDetailsPage extends React.Component {
2929
});
3030

3131
private columns: SearchColumn<CompanyDTO>[] = [
32+
{
33+
id: 'id',
34+
Header: <span className={styles.tableHeader}>ID</span>,
35+
accessor: 'id',
36+
},
3237
{
3338
id: 'companyUserCount',
3439
Header: <span className={styles.tableHeader}>Users</span>,
@@ -136,7 +141,7 @@ export default class CompanyDetailsPage extends React.Component {
136141
minRows={1}
137142
defaultSorted={[
138143
{
139-
id: 'companyName',
144+
id: 'id',
140145
desc: true,
141146
},
142147
]}

0 commit comments

Comments
 (0)