Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix: kubeconfig import button
Browse files Browse the repository at this point in the history
  • Loading branch information
hibig committed Aug 28, 2023
1 parent b0231cc commit b537b5d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/assets/style/margin.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
.p-10 {
padding: 10px;
}

.m-t-5 {
margin-top: 5px;
}
11 changes: 10 additions & 1 deletion src/views/operation-hub/connectors/pages/k8s-detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
field="configData.kubeconfig.value"
hide-label
label="KubeConfig"
class="kube"
:validate-trigger="['change']"
:rules="[
{
Expand Down Expand Up @@ -127,7 +128,7 @@
</div>
</ResizeableContainer>
<template v-if="pageAction === PageAction.EDIT" #extra>
<div>
<div class="m-t-5 btn">
<a-upload
action="/"
:auto-upload="false"
Expand Down Expand Up @@ -402,6 +403,14 @@

<style lang="less" scoped>
.kuber-detail-wrap {
:deep(.arco-form) {
.arco-form-item.kube {
&.arco-form-item-status-error .arco-form-item-extra {
display: block;
}
}
}
.label-wrap {
display: flex;
align-items: center;
Expand Down

0 comments on commit b537b5d

Please sign in to comment.