label multi shows color, sharing shows avatars

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-08-29 09:15:30 +02:00
parent 493eee601b
commit 59827e0f69
2 changed files with 15 additions and 5 deletions

View File

@@ -3,7 +3,8 @@
<multiselect v-model="addAcl" :options="unallocatedSharees" label="label"
@input="clickAddAcl" @search-change="asyncFind">
<template #option="scope">
{{ scope.option.label }}
<avatar :user="scope.option.value.shareWith" />
<span class="avatarLabel">{{ scope.option.label }} </span>
</template>
</multiselect>
@@ -129,4 +130,7 @@ export default {
padding: 12px 9px;
flex-grow: 1;
}
.avatarLabel {
padding: 6px
}
</style>