Commit 0bd504f4 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'usage-quota-handle-empty-root-storage-response' into 'master'

Add null guard for rootStorageStatistics

See merge request gitlab-org/gitlab!45270
parents a7248d86 49268de4
......@@ -130,7 +130,7 @@ export const parseGetStorageResults = data => {
repositorySizeExcessProjectCount,
totalRepositorySize,
totalRepositorySizeExcess,
totalUsage: rootStorageStatistics.storageSize
totalUsage: rootStorageStatistics?.storageSize
? numberToHumanSize(rootStorageStatistics.storageSize)
: 'N/A',
rootStorageStatistics,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment