mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
model select show icon only on mobile for create indicator
This commit is contained in:
@@ -40,8 +40,9 @@
|
||||
<template #option="{ option }" v-if="props.allowCreate">
|
||||
<div class="d-flex align-center justify-space-between w-100">
|
||||
<span>{{ option[itemLabel] }}</span>
|
||||
<v-chip size="x-small" :color="option.__CREATE__ ? 'success' : 'primary'" class="ml-2">
|
||||
{{ option.__CREATE__ ? $t("New") : $t("Existing") }}
|
||||
<v-chip size="x-small" color="create" class="ml-2" v-if="option.__CREATE__">
|
||||
<v-icon icon="$create"></v-icon>
|
||||
<template class="d-none d-lg-block">{{$t('Create')}}</template>
|
||||
</v-chip>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user