Skip to content

Commit

Permalink
feat: Disable category column style for TemporalDimension (table)
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Apr 5, 2023
1 parent 4f3ac90 commit 78a9dfe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/configurator/table/table-chart-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,13 @@ export const TableColumnOptions = ({
label: t({ id: "columnStyle.bar", message: `Bar Chart` }),
},
]
: isTemporalDimension(component)
? [
{
value: "text",
label: t({ id: "columnStyle.text", message: `Text` }),
},
]
: [
{
value: "text",
Expand All @@ -204,6 +211,7 @@ export const TableColumnOptions = ({
label: t({ id: "columnStyle.categories", message: `Categories` }),
},
];

return (
<div
key={`control-panel-table-column-${activeField}`}
Expand Down

0 comments on commit 78a9dfe

Please sign in to comment.