Skip to content

Commit c41217e

Browse files
authored
Merge branch 'main' into astandrik.very-bad-performance-1472
2 parents 692aea8 + 6a99452 commit c41217e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,7 @@ export function TenantOverview({
5858
const {Tables, Topics} =
5959
tenantSchemaData?.PathDescription?.DomainDescription?.DiskSpaceUsage || {};
6060

61-
const usedTabletStorage = [
62-
Tables?.TotalSize,
63-
Topics?.AccountSize,
64-
Topics?.DataSize,
65-
Topics?.ReserveSize,
66-
Topics?.UsedReserveSize,
67-
].reduce((sum, current) => {
61+
const usedTabletStorage = [Tables?.TotalSize, Topics?.DataSize].reduce((sum, current) => {
6862
if (current) {
6963
return sum + Number(current);
7064
}

src/utils/monaco/yql/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import type {YQLEntity} from '@gravity-ui/websql-autocomplete';
22

33
export const SimpleTypes = [
4+
'Text',
5+
'Bytes',
46
'String',
57
'Bool',
68
'Int32',

0 commit comments

Comments
 (0)