Removed Edit button when document is finished
This commit is contained in:
@@ -52,6 +52,7 @@ const openEmail = () => {
|
|||||||
<template #left>
|
<template #left>
|
||||||
<UButton
|
<UButton
|
||||||
@click="router.push(`/createDocument/edit/${itemInfo.id}`)"
|
@click="router.push(`/createDocument/edit/${itemInfo.id}`)"
|
||||||
|
v-if="itemInfo.state === 'Entwurf'"
|
||||||
>
|
>
|
||||||
Bearbeiten
|
Bearbeiten
|
||||||
</UButton>
|
</UButton>
|
||||||
|
|||||||
Reference in New Issue
Block a user