Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
Signed-off-by: suzhou <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jan 5, 2023
1 parent ec0ee1f commit 8ab8a03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions public/pages/Indices/containers/Indices/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
.euiFlexItem--flexGrowZero {
text-transform: capitalize;
}
}

.camel-first-letter {
text-transform: capitalize;
}
2 changes: 1 addition & 1 deletion public/pages/Indices/utils/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const getColumns = (props: IColumnOptions): EuiTableFieldDataColumnType<ManagedC
truncateText: true,
textOnly: true,
render: (status: string, item: ManagedCatIndex) => {
return item.extraStatus || status;
return <span className="camel-first-letter">{item.extraStatus || status}</span>;
},
},
{
Expand Down

0 comments on commit 8ab8a03

Please sign in to comment.