Skip to content

Commit b22613d

Browse files
authored
refactor: use new knowledge structure to create, restore and scale-out clusters (#106)
1 parent 95a7828 commit b22613d

17 files changed

Lines changed: 1930 additions & 729 deletions

File tree

apps/main/[3]cluster/[1]instances/[-1]scale/components/ScaleOutPanel/index.tsx

Lines changed: 293 additions & 249 deletions
Large diffs are not rendered by default.

apps/main/[3]cluster/[1]instances/[-2]_clusterId/[1]profile/components/ComponentList/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,8 @@ function getColumns({
190190
render(_, record) {
191191
if (disableScaleIn) {
192192
return [
193-
<Tooltip title={t('scaleIn.disabled')}>
194-
<span className="disabled-text-btn" key="scaleIn">
195-
{t('actions.scaleIn')}
196-
</span>
193+
<Tooltip title={t('scaleIn.disabled')} key="scaleIn">
194+
<span className="disabled-text-btn">{t('actions.scaleIn')}</span>
197195
</Tooltip>,
198196
]
199197
}

apps/main/[3]cluster/[1]instances/[-2]_clusterId/[3]logs/components/LogsTable/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ function getColumns(t: TFunction<''>) {
106106
tikv: { text: 'TiKV' },
107107
pd: { text: 'PD' },
108108
tiflash: { text: 'TiFlash' },
109+
cdc: { text: 'TiCDC' },
109110
},
110111
},
111112
{

0 commit comments

Comments
 (0)