Update messaging-room.vue

This commit is contained in:
syuilo 2020-02-09 19:31:23 +09:00
parent e600fb7096
commit 0f63acea5b

View File

@ -8,6 +8,7 @@
<portal to="avatar"><mk-avatar class="avatar" :user="user" :disable-preview="true"/></portal> <portal to="avatar"><mk-avatar class="avatar" :user="user" :disable-preview="true"/></portal>
</template> </template>
<template v-if="!fetching && group"> <template v-if="!fetching && group">
<portal to="icon"><fa :icon="faUsers"/></portal>
<portal to="title">{{ group.name }}</portal> <portal to="title">{{ group.name }}</portal>
</template> </template>
@ -35,7 +36,7 @@
<script lang="ts"> <script lang="ts">
import Vue from 'vue'; import Vue from 'vue';
import { faArrowCircleDown, faFlag } from '@fortawesome/free-solid-svg-icons'; import { faArrowCircleDown, faFlag, faUsers } from '@fortawesome/free-solid-svg-icons';
import i18n from '../i18n'; import i18n from '../i18n';
import XList from '../components/date-separated-list.vue'; import XList from '../components/date-separated-list.vue';
import XMessage from './messaging-room.message.vue'; import XMessage from './messaging-room.message.vue';
@ -63,7 +64,7 @@ export default Vue.extend({
connection: null, connection: null,
showIndicator: false, showIndicator: false,
timer: null, timer: null,
faArrowCircleDown, faFlag faArrowCircleDown, faFlag, faUsers
}; };
}, },