debian-mirror-gitlab/app/assets/javascripts/boards/components/board_app.vue
2021-11-11 11:23:49 +05:30

29 lines
670 B
Vue

<script>
import { mapActions, mapGetters } from 'vuex';
import BoardContent from '~/boards/components/board_content.vue';
import BoardSettingsSidebar from '~/boards/components/board_settings_sidebar.vue';
export default {
components: {
BoardContent,
BoardSettingsSidebar,
},
inject: ['disabled'],
computed: {
...mapGetters(['isSidebarOpen']),
},
mounted() {
this.performSearch();
},
methods: {
...mapActions(['performSearch']),
},
};
</script>
<template>
<div class="boards-app gl-relative" :class="{ 'is-compact': isSidebarOpen }">
<board-content :disabled="disabled" />
<board-settings-sidebar />
</div>
</template>