Skip to content

Commit

Permalink
Merge pull request #193 from abes-esr/ITEM-431-infobulle-couleur
Browse files Browse the repository at this point in the history
Fix couleur
  • Loading branch information
EryneKL authored Dec 11, 2024
2 parents bcf0949 + 34ac49f commit a661b15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/components/ButtonsActions/BtnArchive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<v-btn v-bind="props"
variant="text"
icon="mdi-archive"
color="archived"
color="primary"
@click="archiverDemande(demande)"
aria-label="Archiver"></v-btn>
</template>
Expand All @@ -28,12 +28,12 @@ function canArchive(item) {
//Archivage d'une demande
function archiverDemande(item) {
itemService.archiverDemande(item.type, item.id)
.then(() => {
emits('clicked');
})
.catch(error => {
emits('onError', error);
});
.then(() => {
emits('clicked');
})
.catch(error => {
emits('onError', error);
});
}
</script>
2 changes: 1 addition & 1 deletion src/components/ButtonsActions/BtnRestore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<template v-slot:activator="{ props }">
<v-btn v-bind="props"
variant="text"
color="success"
color="green"
icon="mdi-package-up"
@click="restaurerDemande(demande)"></v-btn>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ButtonsActions/BtnStop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<v-btn v-bind="props"
icon="mdi-stop"
variant="text"
color="error"
color="red"
@click="dialog = true">
</v-btn>
</template>
Expand Down

0 comments on commit a661b15

Please sign in to comment.