Skip to content

Commit

Permalink
fix(ui): Add additional numerical types for table formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
domphan-wandb committed Oct 10, 2024
1 parent 1e3f239 commit fdde848
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 fdde848

Please sign in to comment.