default quotaUsage in licensing store to undefined - some checks rely on this field being undefined, however in the current intialisation flow it is always set to the full object by the time the inspections are made. set to undefined for additional safety

This commit is contained in:
Rory Powell 2022-09-23 13:30:47 +01:00
parent 7aa33d4287
commit 5f9f8b1694
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ export const createLicensingStore = () => {
// features // features
groupsEnabled: false, groupsEnabled: false,
// the currently used quotas from the db // the currently used quotas from the db
quotaUsage: {}, quotaUsage: undefined,
// derived quota metrics for percentages used // derived quota metrics for percentages used
usageMetrics: {}, usageMetrics: {},
// quota reset // quota reset