Skip to content

Commit

Permalink
tags bar works now
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellie Li authored and Ellie Li committed Feb 18, 2024
1 parent e856854 commit 9036a0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 0 additions & 11 deletions components/table/event-table/EventTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,6 @@ const EventTable = () => {
});
return (
<>
<Input
placeholder="Enter tags separated by commas"
onChange={e => {
const tags = e.target.value
.split(',')
.map(tag => tag.trim())
.filter(tag => tag !== '');
setSelectedTags(tags);
}}
/>

<EventTableImpl
getColumnSearchProps={getColumnSearchProps}
sortedInfo={sortedInfo}
Expand Down
1 change: 1 addition & 0 deletions components/table/event-table/EventTableImpl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ const EventTableImpl = ({
.filter(tag => tag !== '');
setSelectedTags(tags);
}}
style={{ width: '300px' }}
/>
}
trigger="click"
Expand Down

0 comments on commit 9036a0f

Please sign in to comment.