Use # instead of v-slot:
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<mk-notes ref="timeline" :make-promise="makePromise" @inited="() => $emit('loaded')">
|
||||
<template v-slot:header>
|
||||
<template #header>
|
||||
<header class="oh5y2r7l5lx8j6jj791ykeiwgihheguk">
|
||||
<span :data-active="mode == 'default'" @click="mode = 'default'"><fa :icon="['far', 'comment-alt']"/> {{ $t('default') }}</span>
|
||||
<span :data-active="mode == 'with-replies'" @click="mode = 'with-replies'"><fa icon="comments"/> {{ $t('with-replies') }}</span>
|
||||
@@ -9,7 +9,7 @@
|
||||
<span :data-active="mode == 'my-posts'" @click="mode = 'my-posts'"><fa icon="user"/> {{ $t('my-posts') }}</span>
|
||||
</header>
|
||||
</template>
|
||||
<template v-slot:empty><fa :icon="['far', 'comments']"/>{{ $t('empty') }}</template>
|
||||
<template #empty><fa :icon="['far', 'comments']"/>{{ $t('empty') }}</template>
|
||||
</mk-notes>
|
||||
</div>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user