Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
023d71381e | ||
| e2695335e7 |
@@ -1,2 +1,2 @@
|
|||||||
parameters:
|
parameters:
|
||||||
app.version: '0.0.86'
|
app.version: '0.0.87'
|
||||||
|
|||||||
@@ -23,10 +23,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
v-if="hasCaseId"
|
v-if="hasCaseId && auth.isAdmin"
|
||||||
:to="addBovineRoute"
|
:to="addBovineRoute"
|
||||||
class="inline-flex items-center justify-center text-xl text-white uppercase bg-primary-500 h-[50px] px-6 rounded hover:opacity-80 gap-2"
|
class="inline-flex items-center justify-center text-xl text-white uppercase bg-primary-500 h-[50px] px-6 rounded hover:opacity-80 gap-2"
|
||||||
:class="auth.isAdmin ? '' : 'cursor-not-allowed opacity-60 pointer-events-none'"
|
|
||||||
>
|
>
|
||||||
<Icon name="mdi:plus" size="28" />
|
<Icon name="mdi:plus" size="28" />
|
||||||
Ajouter
|
Ajouter
|
||||||
|
|||||||
Reference in New Issue
Block a user