Skip to content

Commit fcb1851

Browse files
authored
Merge branch 'main' into astandrik.1607
2 parents da315ee + 9ab321b commit fcb1851

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/containers/Operations/Operations.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function Operations({database}: OperationsProps) {
2525
const {kind, searchValue, pageSize, pageToken, handleKindChange, handleSearchChange} =
2626
useOperationsQueryParams();
2727

28-
const {data, isFetching, error, refetch} = operationsApi.useGetOperationListQuery(
28+
const {data, isLoading, error, refetch} = operationsApi.useGetOperationListQuery(
2929
{database, kind, page_size: pageSize, page_token: pageToken},
3030
{
3131
pollingInterval: autoRefreshInterval,
@@ -53,13 +53,13 @@ export function Operations({database}: OperationsProps) {
5353
searchValue={searchValue}
5454
entitiesCountCurrent={filteredOperations.length}
5555
entitiesCountTotal={data?.operations?.length}
56-
entitiesLoading={isFetching}
56+
entitiesLoading={isLoading}
5757
handleKindChange={handleKindChange}
5858
handleSearchChange={handleSearchChange}
5959
/>
6060
</TableWithControlsLayout.Controls>
6161
{error ? <ResponseError error={error} /> : null}
62-
<TableWithControlsLayout.Table loading={isFetching} className={b('table')}>
62+
<TableWithControlsLayout.Table loading={isLoading} className={b('table')}>
6363
{data ? (
6464
<ResizeableDataTable
6565
columns={getColumns({database, refreshTable: refetch})}

src/containers/Tenant/Diagnostics/Configs/Configs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const Configs = ({database}: ConfigsProps) => {
9191
const [autoRefreshInterval] = useAutoRefreshInterval();
9292
const {
9393
currentData = [],
94-
isFetching,
94+
isLoading,
9595
error,
9696
} = tenantApi.useGetClusterConfigQuery({database}, {pollingInterval: autoRefreshInterval});
9797

@@ -113,7 +113,7 @@ export const Configs = ({database}: ConfigsProps) => {
113113
placeholder={i18n('search-placeholder')}
114114
/>
115115
</TableWithControlsLayout.Controls>
116-
<TableWithControlsLayout.Table loading={isFetching}>
116+
<TableWithControlsLayout.Table loading={isLoading}>
117117
{error ? (
118118
<ResponseError error={error} />
119119
) : (

src/containers/Tenant/utils/schemaQueryTemplates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const createExternalTableTemplate = (params?: SchemaQueryParams) => {
128128
};
129129

130130
export const createTopicTemplate = (params?: SchemaQueryParams) => {
131-
const path = params?.relativePath ? `\`${params?.relativePath}\`/my_topic` : '${1:my_topic}';
131+
const path = params?.relativePath ? `\`${params?.relativePath}/my_topic\`` : '${1:my_topic}';
132132
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create-topic
133133
CREATE TOPIC ${path} (
134134
CONSUMER consumer1,

0 commit comments

Comments
 (0)