Skip to content

Commit

Permalink
Fix issue where updating capacity deletes previously set capacities i…
Browse files Browse the repository at this point in the history
…n the same iteration. #194
  • Loading branch information
T-Hugs committed Dec 19, 2017
1 parent fe3f515 commit b9b641a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Calendar/EventSources/VSOCapacityEventSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b9b641a

Please sign in to comment.