Skip to content

Commit

Permalink
fix: change sort default value 0 to be compatible with Firefox (#722) (
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaoei authored May 24, 2022
1 parent ad0310d commit 22f310f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workbench/panel/panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function Panel(props: IPanel & IPanelController) {
if (a.sortIndex && b.sortIndex) {
return a.sortIndex - b.sortIndex;
}
return 1;
return 0;
});

return (
Expand Down

0 comments on commit 22f310f

Please sign in to comment.