Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-02 12:09:50 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-02 12:09:50 +0300
commit43ae0b9e403cf774060267ee6d1a3dd502638068 (patch)
treefe4f1601df28af77a4f657392f93adcd9af0019d /app/assets/javascripts/create_cluster
parentd5e4aa5266e94798f1c4a1a83a77fa0354056f0e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/create_cluster')
-rw-r--r--app/assets/javascripts/create_cluster/eks_cluster/components/eks_cluster_configuration_form.vue24
1 files changed, 17 insertions, 7 deletions
diff --git a/app/assets/javascripts/create_cluster/eks_cluster/components/eks_cluster_configuration_form.vue b/app/assets/javascripts/create_cluster/eks_cluster/components/eks_cluster_configuration_form.vue
index 2858561e033..a7425735733 100644
--- a/app/assets/javascripts/create_cluster/eks_cluster/components/eks_cluster_configuration_form.vue
+++ b/app/assets/javascripts/create_cluster/eks_cluster/components/eks_cluster_configuration_form.vue
@@ -1,10 +1,17 @@
<script>
import { createNamespacedHelpers, mapState, mapActions, mapGetters } from 'vuex';
-import { GlFormGroup, GlFormInput, GlFormCheckbox, GlIcon, GlLink, GlSprintf } from '@gitlab/ui';
+import {
+ GlFormGroup,
+ GlFormInput,
+ GlFormCheckbox,
+ GlIcon,
+ GlLink,
+ GlSprintf,
+ GlButton,
+} from '@gitlab/ui';
import { s__ } from '~/locale';
import ClusterFormDropdown from '~/create_cluster/components/cluster_form_dropdown.vue';
import { KUBERNETES_VERSIONS } from '../constants';
-import LoadingButton from '~/vue_shared/components/loading_button.vue';
const { mapState: mapRolesState, mapActions: mapRolesActions } = createNamespacedHelpers('roles');
const { mapState: mapKeyPairsState, mapActions: mapKeyPairsActions } = createNamespacedHelpers(
@@ -29,7 +36,7 @@ export default {
GlIcon,
GlLink,
GlSprintf,
- LoadingButton,
+ GlButton,
},
props: {
gitlabManagedClusterHelpPath: {
@@ -508,13 +515,16 @@ export default {
</p>
</div>
<div class="form-group">
- <loading-button
- class="js-create-cluster btn-success"
+ <gl-button
+ variant="success"
+ category="primary"
+ class="js-create-cluster"
:disabled="createClusterButtonDisabled"
:loading="isCreatingCluster"
- :label="createClusterButtonLabel"
@click="createCluster()"
- />
+ >
+ {{ createClusterButtonLabel }}
+ </gl-button>
</div>
</form>
</template>