Skip to content

Commit

Permalink
use calendar icon for all datetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
vieiralucas committed Dec 3, 2024
1 parent 252d50e commit 599ed8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/web/src/components/v2Editor/customBlocks/sql/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ function Table(props: Props) {
export function getColumnTypeIcon(
type: DataFrameColumn['type']
): typeof FlagIcon {
if (type.startsWith('datetime64')) {
return CalendarIcon
}

switch (type) {
case 'byte':
case 'ubyte':
Expand Down

0 comments on commit 599ed8c

Please sign in to comment.