debian-mirror-gitlab/app/assets/javascripts/whats_new/components/app.vue

30 lines
528 B
Vue
Raw Normal View History

2020-10-24 23:57:45 +05:30
<script>
import { mapState, mapActions } from 'vuex';
import { GlDrawer } from '@gitlab/ui';
export default {
components: {
GlDrawer,
},
computed: {
...mapState(['open']),
},
methods: {
...mapActions(['closeDrawer']),
},
};
</script>
<template>
<div>
<gl-drawer class="mt-6" :open="open" @close="closeDrawer">
<template #header>
<h4>{{ __("What's new at GitLab") }}</h4>
</template>
<template>
<div></div>
</template>
</gl-drawer>
</div>
</template>