@@ -37,7 +37,6 @@ costs add).
37
37
// TODO: relative path just needed in manage-*
38
38
39
39
import { isEmpty } from "lodash" ;
40
-
41
40
import {
42
41
LicenseIdleTimeouts ,
43
42
LicenseIdleTimeoutsKeysOrdered ,
@@ -1062,7 +1061,7 @@ export function quota_with_reasons(
1062
1061
// Compute the contribution to quota coming from the quota field of the site licenses.
1063
1062
// This is max'd with the quota computed using settings, the rest of the licenses, etc.
1064
1063
// 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
1066
1065
// always_running license on top of a cheaper but larger member hosting license.
1067
1066
// @see select_site_licenses
1068
1067
//
@@ -1139,7 +1138,7 @@ export function site_license_quota(
1139
1138
// remember: this function is for the front-end
1140
1139
// if there is a dedicated VM, all other licenses are ignored and we set some quotas
1141
1140
// to avoid warnings and the red banner, that's all.
1142
- if ( dedicated_vm != null ) {
1141
+ if ( dedicated_vm ) {
1143
1142
total_quota . dedicated_vm = dedicated_vm ;
1144
1143
total_quota . member_host = true ;
1145
1144
total_quota . network = true ;
0 commit comments