Commit e39e1f33 authored by Quentin Hamitouche's avatar Quentin Hamitouche

Fix 1st proposal

parent a08e51e5
...@@ -60,9 +60,9 @@ const ProposalManagement = ({ ...@@ -60,9 +60,9 @@ const ProposalManagement = ({
{proposals.length > 0 ? ( {proposals.length > 0 ? (
<div className="proposals-list"> <div className="proposals-list">
<h3>Liste des propositions ({proposals.length - 1})</h3> <h3>Liste des propositions ({proposals.length})</h3>
<ul className="proposal-list"> <ul className="proposal-list">
{proposals.slice(1).map((proposal, index) => ( {proposals.map((proposal, index) => (
<li key={index + 1} className="proposal-item"> <li key={index + 1} className="proposal-item">
<strong>Proposition #{index + 1}:</strong> {proposal.description} <strong>Proposition #{index + 1}:</strong> {proposal.description}
{parseInt(currentStatus) >= 5 && ( {parseInt(currentStatus) >= 5 && (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment