Skip to content

Commit

Permalink
fix: Options in story of global text search in table
Browse files Browse the repository at this point in the history
  • Loading branch information
josemestebandevo committed Nov 21, 2024
1 parent 3796394 commit 8f97d56
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions packages/table/src/filters/Filters.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,49 +347,49 @@ const dataGlobal = [
text: 'Christine Jimenez',
num: 60,
bool: false,
option: { value: 'A', text: 'Option A' }
option: 'A',
},
{
text: 'Ina Osborne',
num: 20,
bool: true,
option: { value: 'B', text: 'Option B' }
option:'B',
},
{
text: 'Jimmy Hogan',
num: 20,
bool: true,
option: { value: 'C', text: 'Option C' }
option: 'C',
},
{
text: 'Myra Bell',
num: 57,
bool: true,
option: { value: 'C', text: 'Option C' }
option: 'C',
},
{
text: 'Jane Padilla', num: 46, bool: false,
option: { value: 'B', text: 'Option B' }
option: 'B',
},
{
text: 'Isabelle Gardner', num: 31, bool: true,
option: { value: 'A', text: 'Option A' }
option: 'A',
},
{
text: 'Sean Parsons', num: 31, bool: true,
option: { value: 'A', text: 'Option A' }
option: 'A',
},
{
text: 'Alvin Castro', num: 55, bool: false,
option: { value: 'B', text: 'Option B' }
option: 'B',
},
{
text: 'Lawrence Holland', num: 56, bool: false,
option: { value: 'B', text: 'Option B' }
option: 'B',
},
{
text: 'Brandon Robertson', num: 41, bool: true,
option: { value: 'C', text: 'Option C' }
option: 'C',
},
];

Expand Down Expand Up @@ -426,7 +426,6 @@ const GlobalTextFilterTable = () => {
C: { label: 'Option C' },
},
} as TContextOptions,
valueFormatter: (value) => value.text,
},
];

Expand Down

0 comments on commit 8f97d56

Please sign in to comment.