replace scope attributes by slot-scope

This commit is contained in:
taehoon 2019-04-04 12:12:27 -04:00
parent d4e43e0e26
commit fe7766bc61
6 changed files with 8 additions and 8 deletions

View file

@ -201,7 +201,7 @@
</Autosuggest>
</div>
<BlockList :refresh="true" :getKey="item => item">
<template slot="item" scope="p">
<template slot="item" slot-scope="p">
<BlockCard :userId="p.item" />
</template>
<template slot="empty">{{$t('settings.no_blocks')}}</template>
@ -215,7 +215,7 @@
</Autosuggest>
</div>
<MuteList :refresh="true" :getKey="item => item">
<template slot="item" scope="p">
<template slot="item" slot-scope="p">
<MuteCard :userId="p.item" />
</template>
<template slot="empty">{{$t('settings.no_mutes')}}</template>