-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support multiple update types #6888
Conversation
updateConfig, | ||
updateConfig[updateType] | ||
); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another one potentially dangerous place, though it's working for now (with single values)
const sortDiff = | ||
sortOrder.indexOf(a.updateType) - sortOrder.indexOf(b.updateType); | ||
sortOrder.indexOf(aUpdateType) - sortOrder.indexOf(bUpdateType); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this now depends on order of assigned update types? We need to think about this sorting
30e0cd8
to
1349d8e
Compare
|
I'm not certain about this one. Let's park it in Draft for now. |
Ref #6791