Skip to content
Snippets Groups Projects
Commit bf4af8a1 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

correct dates to display

parent b6c583b6
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ export default {
},
date(member) {
if (this.adhesion) return member.limitDate
return member.received_certifications.limit
return Math.min(member.limitDate, member.received_certifications.limit)
}
},
computed: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment