1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-02 13:23:29 +01:00

[AC-1423] Tweak sorting comment

This commit is contained in:
Shane Melton 2023-06-22 09:24:59 -07:00
parent 6dd1616b5a
commit 5607f7e4e2
No known key found for this signature in database

View File

@ -356,11 +356,10 @@ function sortSubscriptionItems(
b: BillingSubscriptionItemResponse b: BillingSubscriptionItemResponse
) { ) {
if (a.bitwardenProduct == b.bitwardenProduct) { if (a.bitwardenProduct == b.bitwardenProduct) {
// sort addon items to the bottom
if (a.addonSubscriptionItem == b.addonSubscriptionItem) { if (a.addonSubscriptionItem == b.addonSubscriptionItem) {
return 0; return 0;
} }
// sort addon items to the bottom
if (a.addonSubscriptionItem) { if (a.addonSubscriptionItem) {
return 1; return 1;
} }