Skip to content

Commit

Permalink
fix: Fixed stop timer
Browse files Browse the repository at this point in the history
- Fixed broken stop timer
- Added current extension version
- Bump version to 1.6.3
  • Loading branch information
CrawlerCode committed Jun 29, 2023
1 parent 291d688 commit b973056
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "redmine-time-tracking",
"description": "Redmine Time Tracking",
"version": "1.6.2",
"version": "1.6.3",
"author": {
"name": "CrawlerCode",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/components/issues/IssuesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions src/pages/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ const SettingsPage = () => {
</>
)}
</Formik>
<div className="absolute bottom-0 w-full flex flex-col items-center p-2">
<g>{chrome.runtime.getManifest().name}</g>
<p>Version: {chrome.runtime.getManifest().version}</p>
</div>
{saved && <Toast type="success" message="Settings saved!" onClose={() => setSaved(false)} />}
</>
);
Expand Down

0 comments on commit b973056

Please sign in to comment.