Skip to content

Commit

Permalink
commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
s7monk committed Jul 9, 2024
1 parent 9e26abb commit 20cd4ce
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ export default defineComponent({
{ label: 'Limit 100 items', key: '100' },
{ label: 'Limit 1000 items', key: '1000' },
],
conditionValue: 'flink-sql-gateway',
conditionValue: 'Flink',
bigDataOptions: [
{ label: 'Flink', value: 'flink-sql-gateway' },
{ label: 'Flink', value: 'Flink' },
{ label: 'Spark', value: 'Spark' },
],
conditionValue2: '',
Expand Down Expand Up @@ -153,7 +153,8 @@ export default defineComponent({
}

function getClusterData() {
getClusterListByType(debuggerVariables.conditionValue, 1, Number.MAX_SAFE_INTEGER).then((response) => {
const deploymentMode = debuggerVariables.conditionValue === 'Flink' ? 'flink-sql-gateway' : debuggerVariables.conditionValue
getClusterListByType(deploymentMode, 1, Number.MAX_SAFE_INTEGER).then((response) => {
if (response && response.data) {
const clusterList = response.data as Cluster[]
debuggerVariables.clusterOptions = clusterList.map(cluster => ({
Expand Down

0 comments on commit 20cd4ce

Please sign in to comment.