diff --git a/src/Calendar/EventSources/VSOCapacityEventSource.ts b/src/Calendar/EventSources/VSOCapacityEventSource.ts index bc4b028..e809111 100644 --- a/src/Calendar/EventSources/VSOCapacityEventSource.ts +++ b/src/Calendar/EventSources/VSOCapacityEventSource.ts @@ -484,7 +484,7 @@ export class VSOCapacityEventSource implements Calendar_Contracts.IEventSource { return workClient.getCapacities(teamContext, iterationId).then((capacities: Work_Contracts.TeamMemberCapacity[]) => { const foundCapacities = capacities.filter(value => value.teamMember.id === memberId); if (foundCapacities.length > 0) { - foundCapacities[0]; + return foundCapacities[0]; } const value = { diff --git a/vss-extension.json b/vss-extension.json index 538a6f7..0099a5a 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "team-calendar", "publisher": "ms-devlabs", - "version": "0.5.197", + "version": "0.5.198", "name": "Team Calendar", "description": "Track events important to your team, view and manage days off, quickly see when sprints start and end, and more.", "public": true,