Skip to content

Commit

Permalink
Fix collapse icon showing on themes with no patches
Browse files Browse the repository at this point in the history
  • Loading branch information
beebls committed Feb 1, 2023
1 parent cf05b90 commit e88deb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ThemeToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const ThemeToggle: VFC<{ data: Theme; collapsible?: boolean }> = ({
}}
/>
</PanelSectionRow>
{data.enabled && (
{data.enabled && data.patches.length > 0 && (
<>
{collapsible && (
<div className="CSSLoader_QAM_CollapseButton_Container">
Expand Down

0 comments on commit e88deb0

Please sign in to comment.