debian-mirror-gitlab/app/assets/javascripts/sidebar/components/participants/sidebar_participants.vue

32 lines
537 B
Vue
Raw Normal View History

2018-03-17 18:26:18 +05:30
<script>
2018-12-13 13:39:08 +05:30
import Store from '../../stores/sidebar_store';
import participants from './participants.vue';
2018-03-17 18:26:18 +05:30
2018-12-13 13:39:08 +05:30
export default {
components: {
participants,
},
props: {
mediator: {
type: Object,
required: true,
2018-03-17 18:26:18 +05:30
},
2018-12-13 13:39:08 +05:30
},
data() {
return {
store: new Store(),
};
},
};
2018-03-17 18:26:18 +05:30
</script>
<template>
<div class="block participants">
<participants
:loading="store.isFetching.participants"
:participants="store.participants"
:number-of-less-participants="7"
/>
</div>
</template>