Skip to content

Commit

Permalink
fix: 修复kubeconfig导入按钮禁用问题 (merge request !1626)
Browse files Browse the repository at this point in the history
Squash merge branch 'fix_import_cluster' into 'master'
fix: 修复kubeconfig导入按钮禁用问题
  • Loading branch information
hitozhang committed Feb 19, 2024
1 parent 556eabe commit 6473f46
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@
theme="primary"
class="mr-[5px]"
:loading="testLoading"
:disabled="!importClusterInfo.cloudID || !importClusterInfo.provider"
:disabled="importClusterInfo.importType === 'provider'
? (!importClusterInfo.cloudID || !importClusterInfo.provider)
: !importClusterInfo.yaml"
@click="handleTest">{{$t('cluster.create.button.textKubeConfig')}}</bk-button>
<span
v-bk-tooltips="{
Expand Down

0 comments on commit 6473f46

Please sign in to comment.