diff --git a/CHANGELOG.md b/CHANGELOG.md index a162a2a..e5b9d2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Change Log +## 1.0.6 +- fixed a bug where links on the task card where not pointing to the correct url +- Creating a task without an active project picked should be a bit more smooth now. ## 1.0.5 - added a warning when trying to select a project without a folder opened diff --git a/media/cards/taskCard.json b/media/cards/taskCard.json index a7c70d7..ce92004 100644 --- a/media/cards/taskCard.json +++ b/media/cards/taskCard.json @@ -33,7 +33,7 @@ "facts": [ { "title": "Project:", - "value": "[{$root['project-name']}]({$root.rooturl}/projects/{$root.id})" + "value": "[{$root['project-name']}]({$root.rooturl}/projects/{$root['project-id']})" }, { "title": "TaskList:", diff --git a/package.json b/package.json index c8677a4..4dcbbe4 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "url": "https://twitter.com/Teamwork" } ], - "version": "1.0.5", + "version": "1.0.6", "engines": { "vscode": "^1.33.0" }, diff --git a/src/teamworkProjects.ts b/src/teamworkProjects.ts index 3079b6b..5f8dfb4 100644 --- a/src/teamworkProjects.ts +++ b/src/teamworkProjects.ts @@ -209,7 +209,6 @@ export class TeamworkProjects{ //Task: Need to find a workaround for files without a comment symbol configured in VSCode //Link: https://digitalcrew.teamwork.com//tasks/14804255 //Assigned To: Tim Cadenbach - var commentWrapper = langConfig.comments.lineComment; var content = taskDetails.content; var responsible = taskDetails["responsible-party-names"]; @@ -302,7 +301,7 @@ export class TeamworkProjects{ if (this.Config.ActiveProjectId === ""){ - this.SelectActiveProject(); + await this.SelectActiveProject(); } this.Config.Projects.forEach(element => { diff --git a/twp-1.0.5.vsix b/twp-1.0.6.vsix similarity index 95% rename from twp-1.0.5.vsix rename to twp-1.0.6.vsix index 74c475c..9102fec 100644 Binary files a/twp-1.0.5.vsix and b/twp-1.0.6.vsix differ