Skip to content

Commit

Permalink
fix: hide disabled dock items in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
husa committed Feb 5, 2025
1 parent 4dc21f3 commit 9aa459f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const SettingsPanelDock = () => {
{dock
.slice(0)
.reverse()
.filter((i) => i.enabled)
.filter((i) => i.url !== 'settings')
.map((dockItem) => (
<SwitchOption
Expand Down

0 comments on commit 9aa459f

Please sign in to comment.