Skip to content

Commit 5908656

Browse files
updated end date check to exclude licences ending on FA start date
1 parent 3d2ada7 commit 5908656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/fundingAgreements/ViewFundingAgreement.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default {
216216
return this.licences.filter((l) => {
217217
const start = new Date(l.recordStartDate);
218218
const end = l.recordEndDate ? new Date(l.recordEndDate) : null;
219-
return start <= faStart && (!end || end >= faStart);
219+
return start <= faStart && (!end || end > faStart);
220220
});
221221
},
222222
},

0 commit comments

Comments
 (0)