summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/admin/users/components/actions/approve.vue
blob: 6fc43c246eab769d672d0c21b3200c431b0b49f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<script>
import { GlDropdownItem } from '@gitlab/ui';

export default {
  components: {
    GlDropdownItem,
  },
  props: {
    path: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <gl-dropdown-item :href="path" data-method="put">
    <slot></slot>
  </gl-dropdown-item>
</template>