1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00: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

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;
} }