Skip to content

Commit

Permalink
fix(ui): Add additional numerical types for table formatting (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
domphan-wandb authored Oct 14, 2024
1 parent 4efdbef commit ac06747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weave-js/src/components/Panel2/PanelTable/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {useTableStateWithRefinedExpressions} from './tableStateReact';
export const getColumnCellFormats = (colType: Type): WeaveFormatContextType => {
const t = nullableTaggableStrip(colType);
const numberFormat =
t === 'number'
t === 'number' || t === 'float' || t === 'int'
? {
textAlign: 'right' as const,
justifyContent: 'normal',
Expand Down

0 comments on commit ac06747

Please sign in to comment.