Skip to content

Commit

Permalink
feat: ajoute un bouton de retour sur la page de la liste des aides
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamzic committed Oct 23, 2024
1 parent 023395d commit 275b44a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/views/liste-aides.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<template>
<article class="fr-article">
<h1>Toutes les aides</h1>
<BackButton
size="small"
data-testid="benefits-liste-back-button"
class="fr-mb-3w"
>
Retour
</BackButton>
<p>Total: {{ benefitsCount }} aides</p>
<div class="fr-form-group">
<div class="fr-container fr-px-0">
Expand Down Expand Up @@ -83,6 +90,7 @@ import institutionsBenefits from "generator:institutions"
import CommuneMethods from "@/lib/commune.js"
import { Commune } from "@lib/types/commune.d.js"
import { capitalize } from "@lib/utils.js"
import BackButton from "@/components/buttons/back-button.vue"
const zipCode = ref("")
const selectedCommune = ref<Commune | null>()
Expand Down

0 comments on commit 275b44a

Please sign in to comment.