Skip to content

Commit

Permalink
ITEM-370 ajout condition pour Affichage des fichiers
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelQuetin committed Dec 5, 2024
1 parent 3595fbb commit 37ffd1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MenuDownloadFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ const isEnrichiAvailable = computed(() =>
(idEtatCurrentDemande.value >= 4 && props.demande.type === 'MODIF') ||
(idEtatCurrentDemande.value >= 5 && props.demande.type === 'SUPP')
)
const isResultatAvailable = computed(() => idEtatCurrentDemande.value >= 7 && idEtatCurrentDemande.value !== 8)
const isSauvegardeAvailable = computed(() => idEtatCurrentDemande.value >= 7)
const isResultatAvailable = computed(() => idEtatCurrentDemande.value >= 7 && idEtatCurrentDemande.value !== 8 && props.demande.pourcentageProgressionTraitement > 0)
const isSauvegardeAvailable = computed(() => idEtatCurrentDemande.value >= 7 && props.demande.pourcentageProgressionTraitement > 0)
onMounted(() => {
itemService.getEtatsDemande()
Expand Down

0 comments on commit 37ffd1b

Please sign in to comment.