Skip to content

Commit

Permalink
Adjust column widths
Browse files Browse the repository at this point in the history
  • Loading branch information
FLSoz committed Jun 18, 2022
1 parent edbdf90 commit 3074c21
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ const MAIN_COLUMN_SCHEMA: ColumnSchema<DisplayModData>[] = [
{
title: MainColumnTitles.STATE,
dataIndex: 'errors',
width: 150,
renderSetup: (props: CollectionViewProps) => {
const { lastValidationStatus, collection } = props;
return (errors: ModErrors | undefined, record: DisplayModData) => {
Expand Down Expand Up @@ -409,6 +410,7 @@ const MAIN_COLUMN_SCHEMA: ColumnSchema<DisplayModData>[] = [
{
title: MainColumnTitles.SIZE,
dataIndex: 'size',
width: 80,
renderSetup: () => {
return (size?: number) => {
if (size && size > 0) {
Expand Down Expand Up @@ -478,6 +480,7 @@ const MAIN_COLUMN_SCHEMA: ColumnSchema<DisplayModData>[] = [
{
title: MainColumnTitles.LAST_UPDATE,
dataIndex: 'lastUpdate',
width: 155,
renderSetup: () => {
return (date: Date) => {
return formatDateStr(date);
Expand All @@ -487,6 +490,7 @@ const MAIN_COLUMN_SCHEMA: ColumnSchema<DisplayModData>[] = [
{
title: MainColumnTitles.DATE_ADDED,
dataIndex: 'dateAdded',
width: 155,
renderSetup: () => {
return (date: Date) => {
return formatDateStr(date);
Expand Down

0 comments on commit 3074c21

Please sign in to comment.