From b973056781ff67a8822ba65799d47d3c78547fc3 Mon Sep 17 00:00:00 2001 From: CrawlerCode <41094392+CrawlerCode@users.noreply.github.com> Date: Thu, 29 Jun 2023 17:45:35 +0200 Subject: [PATCH] fix: Fixed stop timer - Fixed broken stop timer - Added current extension version - Bump version to 1.6.3 --- package.json | 2 +- public/manifest.json | 2 +- src/components/issues/IssuesList.tsx | 2 +- src/pages/SettingsPage.tsx | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e496564..44693a9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "redmine-time-tracking", "description": "Redmine Time Tracking", - "version": "1.6.2", + "version": "1.6.3", "author": { "name": "CrawlerCode", "email": "crawlercode@outlook.de" diff --git a/public/manifest.json b/public/manifest.json index 8662bd8..79c77b7 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Redmine Time Tracking", - "version": "1.6.2", + "version": "1.6.3", "description": "Start-stop timer for Redmine", "icons": { "16": "logo16.png", diff --git a/src/components/issues/IssuesList.tsx b/src/components/issues/IssuesList.tsx index 6d79a39..33e8c14 100644 --- a/src/components/issues/IssuesList.tsx +++ b/src/components/issues/IssuesList.tsx @@ -132,7 +132,7 @@ const IssuesList = ({ account, issues, issuesData: { data: issuesData, setData: time: 0, }, }; - if (!data.favorite && !data.remember) { + if (!data.pinned && !data.remembered) { delete newIssuesData[issue.id]; } setIssuesData(newIssuesData); diff --git a/src/pages/SettingsPage.tsx b/src/pages/SettingsPage.tsx index 205bb31..d7ebf02 100644 --- a/src/pages/SettingsPage.tsx +++ b/src/pages/SettingsPage.tsx @@ -64,6 +64,10 @@ const SettingsPage = () => { )} +
+ {chrome.runtime.getManifest().name} +

Version: {chrome.runtime.getManifest().version}

+
{saved && setSaved(false)} />} );