[fix] Cells with 0 value should be right aligned
This commit is contained in:
parent
cd4645e5b3
commit
3a050cdfb6
@ -134,7 +134,7 @@ export default class DataManager {
|
||||
this.columns = this.columns.map((column, i) => {
|
||||
|
||||
const cellValue = row0[i].content;
|
||||
if (!column.align && cellValue && isNumeric(cellValue)) {
|
||||
if (!column.align && isNumeric(cellValue)) {
|
||||
column.align = 'right';
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user