Skip to content

Commit

Permalink
Fix editor tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
PurkkaKoodari committed Jan 18, 2024
1 parent ef8045d commit 52f1267
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const EditorTabHeader = ({ activeTab, setActiveTab }: Props) => {
<Nav variant="tabs" activeKey={activeTab} role="tablist">
{Object.values(EditorTab)
// Only show Basic details for ONLY_EVENT events.
.filter((id) => id === EditorTab.BASIC_DETAILS && eventType !== EditorEventType.ONLY_EVENT)
.filter((id) => id === EditorTab.BASIC_DETAILS || eventType !== EditorEventType.ONLY_EVENT)
.map((id) => <Tab key={id} id={id} activeTab={activeTab} setActiveTab={setActiveTab} />)}
</Nav>
);
Expand Down

0 comments on commit 52f1267

Please sign in to comment.