From e67044cb64e5d76a52f5fdc6ad5f3d16e84de94e Mon Sep 17 00:00:00 2001 From: Trevor Gau Date: Wed, 20 Dec 2017 16:01:31 -0500 Subject: [PATCH] Fix an issue where calendar is not properly changing months. --- src/Calendar/Views.tsx | 3 ++- vss-extension.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Calendar/Views.tsx b/src/Calendar/Views.tsx index aae5a23..a65d6c4 100644 --- a/src/Calendar/Views.tsx +++ b/src/Calendar/Views.tsx @@ -289,6 +289,7 @@ export class CalendarComponent extends BaseComponent { if (!this._disposed) { EventSourceCollection.create().then((eventSources: EventSourceCollection) => { - if (!this._rendering) { + if (!this._rendering && !this._disposed) { this._rendering = true; this._loadSections(eventSources); } diff --git a/vss-extension.json b/vss-extension.json index 0099a5a..66d47b0 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "team-calendar", "publisher": "ms-devlabs", - "version": "0.5.198", + "version": "0.5.209", "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,