mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
only show the new/existing template when creating is actually allowed
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
containerActive: '',
|
||||
}"
|
||||
>
|
||||
<template #option="{ option }">
|
||||
<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">
|
||||
|
||||
Reference in New Issue
Block a user