Skip to content
Snippets Groups Projects
Unverified Commit b8a8190a authored by GyDi's avatar GyDi
Browse files

fix: sort proxy during loading, close #221

parent 2d098934
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,8 @@ export default function useSortProxy(
const ad = delayManager.getDelay(a.name, groupName);
const bd = delayManager.getDelay(b.name, groupName);
if (ad === -1) return 1;
if (bd === -1) return -1;
if (ad === -1 || ad === -2) return 1;
if (bd === -1 || bd === -2) return -1;
return ad - bd;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment