mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
fix(BS|PL): date periods columns alignment.
This commit is contained in:
@@ -107,7 +107,7 @@ const dateRangeMapper = R.curry((data, column) => {
|
|||||||
key: column.key,
|
key: column.key,
|
||||||
disableSortBy: true,
|
disableSortBy: true,
|
||||||
textOverview: true,
|
textOverview: true,
|
||||||
align: Align.Center,
|
align: isDateColumnHasColumns ? Align.Center : Align.Right,
|
||||||
};
|
};
|
||||||
return R.compose(
|
return R.compose(
|
||||||
R.when(
|
R.when(
|
||||||
|
|||||||
@@ -335,7 +335,7 @@ const dateRangeColumn = R.curry((data, column) => {
|
|||||||
key: column.key,
|
key: column.key,
|
||||||
disableSortBy: true,
|
disableSortBy: true,
|
||||||
textOverview: true,
|
textOverview: true,
|
||||||
align: isDateColumnHasColumns ? Align.Center : Align.Center,
|
align: isDateColumnHasColumns ? Align.Center : Align.Right,
|
||||||
};
|
};
|
||||||
return R.compose(
|
return R.compose(
|
||||||
R.when(
|
R.when(
|
||||||
|
|||||||
Reference in New Issue
Block a user