summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/sidebar/components/participants/sidebar_participants.vue
blob: 5c1ead1a8acdd6405397609cfa36d2e206f6f049 (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
31
<script>
  import Store from '../../stores/sidebar_store';
  import participants from './participants.vue';

  export default {
    components: {
      participants,
    },
    props: {
      mediator: {
        type: Object,
        required: true,
      },
    },
    data() {
      return {
        store: new Store(),
      };
    },
  };
</script>

<template>
  <div class="block participants">
    <participants
      :loading="store.isFetching.participants"
      :participants="store.participants"
      :number-of-less-participants="7"
    />
  </div>
</template>