@@ -37,7 +37,6 @@ costs add).
3737// TODO: relative path just needed in manage-*
3838
3939import { isEmpty } from "lodash" ;
40-
4140import {
4241 LicenseIdleTimeouts ,
4342 LicenseIdleTimeoutsKeysOrdered ,
@@ -1062,7 +1061,7 @@ export function quota_with_reasons(
10621061// Compute the contribution to quota coming from the quota field of the site licenses.
10631062// This is max'd with the quota computed using settings, the rest of the licenses, etc.
10641063// The given licenses might be a subset of all, because e.g. it's sort of cheating
1065- // to combine memory upgades of member hosting with preempt hosting, or add a small
1064+ // to combine memory upgrades of member hosting with preempt hosting, or add a small
10661065// always_running license on top of a cheaper but larger member hosting license.
10671066// @see select_site_licenses
10681067//
@@ -1139,7 +1138,7 @@ export function site_license_quota(
11391138 // remember: this function is for the front-end
11401139 // if there is a dedicated VM, all other licenses are ignored and we set some quotas
11411140 // to avoid warnings and the red banner, that's all.
1142- if ( dedicated_vm != null ) {
1141+ if ( dedicated_vm ) {
11431142 total_quota . dedicated_vm = dedicated_vm ;
11441143 total_quota . member_host = true ;
11451144 total_quota . network = true ;
0 commit comments