blob: 83b074dd55c2be9014195b7bb45f077f7c39f342 (
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
|
<script>
import BranchSwitcher from './branch_switcher.vue';
export default {
components: {
BranchSwitcher,
},
props: {
hasUnsavedChanges: {
type: Boolean,
required: false,
default: false,
},
shouldLoadNewBranch: {
type: Boolean,
required: false,
default: false,
},
},
};
</script>
<template>
<div class="gl-mb-4">
<branch-switcher
:has-unsaved-changes="hasUnsavedChanges"
:should-load-new-branch="shouldLoadNewBranch"
v-on="$listeners"
/>
</div>
</template>
|