blob: f36498957362d9f6ddfe3d6cf23279fe44270278 (
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
|
<script>
import { GlButton } from '@gitlab/ui';
import { __ } from '~/locale';
export default {
i18n: {
edit: __('Edit'),
},
components: {
GlButton,
},
props: {
editPath: {
type: String,
required: true,
},
},
};
</script>
<template>
<gl-button category="primary" variant="confirm" class="gl-mr-3" :href="editPath">
{{ $options.i18n.edit }}
</gl-button>
</template>
|