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

issuable_create_root.vue « components « create « issuable « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 033bb8c3885c9b5c2c6bc655edef4b9c7b347181 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<script>
import IssuableForm from './issuable_form.vue';

export default {
  components: {
    IssuableForm,
  },
  props: {
    descriptionPreviewPath: {
      type: String,
      required: true,
    },
    descriptionHelpPath: {
      type: String,
      required: true,
    },
    labelsFetchPath: {
      type: String,
      required: true,
    },
    labelsManagePath: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <div class="issuable-create-container">
    <slot name="title"></slot>
    <issuable-form
      :description-preview-path="descriptionPreviewPath"
      :description-help-path="descriptionHelpPath"
      :labels-fetch-path="labelsFetchPath"
      :labels-manage-path="labelsManagePath"
    >
      <template #actions="issuableMeta">
        <slot name="actions" v-bind="issuableMeta"></slot>
      </template>
    </issuable-form>
  </div>
</template>