summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/runner_aws_deployments/runner_aws_deployments_modal.vue
blob: 08acde1aefc4d6d926d1a29e30c1e80aa9834c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<script>
import { GlModal } from '@gitlab/ui';
import { s__ } from '~/locale';
import RunnerAwsInstructions from '~/vue_shared/components/runner_instructions/instructions/runner_aws_instructions.vue';

export default {
  components: {
    GlModal,
    RunnerAwsInstructions,
  },
  props: {
    modalId: {
      type: String,
      required: true,
    },
  },
  methods: {
    onClose() {
      this.$refs.modal.close();
    },
  },
  i18n_title: s__('Runners|Deploy GitLab Runner in AWS'),
};
</script>
<template>
  <gl-modal ref="modal" :modal-id="modalId" :title="$options.i18n_title" hide-footer size="sm">
    <runner-aws-instructions @close="onClose" />
  </gl-modal>
</template>