fix: Proper slots for card selector dialog
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -13,16 +13,16 @@
|
|||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
label="title"
|
label="title"
|
||||||
@option:selected="fetchCardsFromBoard">
|
@option:selected="fetchCardsFromBoard">
|
||||||
<template slot="singleLabel" slot-scope="props">
|
<template #selected-option="props">
|
||||||
<span>
|
<span>
|
||||||
<span :style="{ 'backgroundColor': '#' + props.option.color }" class="board-bullet" />
|
<span :style="{ 'backgroundColor': '#' + props.color }" class="board-bullet" />
|
||||||
<span>{{ props.option.title }}</span>
|
<span>{{ props.title }}</span>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template slot="option" slot-scope="props">
|
<template #option="props">
|
||||||
<span>
|
<span>
|
||||||
<span :style="{ 'backgroundColor': '#' + props.option.color }" class="board-bullet" />
|
<span :style="{ 'backgroundColor': '#' + props.color }" class="board-bullet" />
|
||||||
<span>{{ props.option.title }}</span>
|
<span>{{ props.title }}</span>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</NcSelect>
|
</NcSelect>
|
||||||
|
|||||||
Reference in New Issue
Block a user