mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix: deprecated slot syntax
This commit is contained in:
parent
fea5730a29
commit
0c433ac71f
1 changed files with 10 additions and 8 deletions
|
@ -3,14 +3,16 @@
|
|||
v-bind="$attrs"
|
||||
no-body :class="_class"
|
||||
>
|
||||
<slot name="header" slot="header">
|
||||
<h2>
|
||||
<BButton v-b-toggle="id" :variant="variant" class="card-collapse-button">
|
||||
{{ title }}
|
||||
<YIcon class="ml-auto" iname="chevron-right" />
|
||||
</BButton>
|
||||
</h2>
|
||||
</slot>
|
||||
<template #header>
|
||||
<slot name="header">
|
||||
<h2>
|
||||
<BButton v-b-toggle="id" :variant="variant" class="card-collapse-button">
|
||||
{{ title }}
|
||||
<YIcon class="ml-auto" iname="chevron-right" />
|
||||
</BButton>
|
||||
</h2>
|
||||
</slot>
|
||||
</template>
|
||||
|
||||
<BCollapse :id="id" :visible="visible" role="region">
|
||||
<slot name="default" />
|
||||
|
|
Loading…
Reference in a new issue