1
0

Use v-slot instead of slot

This commit is contained in:
syuilo
2019-02-18 09:48:00 +09:00
parent ba1492f977
commit 54d40420ad
96 changed files with 291 additions and 283 deletions
@@ -1,9 +1,9 @@
<template>
<mk-ui>
<span slot="header">
<template v-slot:header>
<template v-if="user"><span style="margin-right:4px;"><fa :icon="['far', 'comments']"/></span><mk-user-name :user="user"/></template>
<template v-else><mk-ellipsis/></template>
</span>
</template>
<x-messaging-room v-if="!fetching" :user="user" :is-naked="true"/>
</mk-ui>
</template>