Commit b0c29c8f authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch '229323-new-file-template' into 'master'

Update new file template bar to gl component

See merge request gitlab-org/gitlab!42120
parents dabad744 fe40424d
<script>
import { GlButton } from '@gitlab/ui';
import { mapActions, mapGetters, mapState } from 'vuex';
import Dropdown from './dropdown.vue';
export default {
components: {
Dropdown,
GlButton,
},
computed: {
...mapGetters(['activeFile']),
......@@ -65,9 +67,9 @@ export default {
@click="selectTemplate"
/>
<transition name="fade">
<button v-show="updateSuccess" type="button" class="btn btn-default" @click="undo">
<gl-button v-show="updateSuccess" category="secondary" variant="default" @click="undo">
{{ __('Undo') }}
</button>
</gl-button>
</transition>
</div>
</template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment