@beauraines/toggl-cli 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/cmds/weekly.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.1.3](https://github.com/beauraines/toggl-cli/compare/v2.1.2...v2.1.3) (2024-01-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **weekly report:** fixes weekly report heading when there is no data ([#142](https://github.com/beauraines/toggl-cli/issues/142)) ([7514fd3](https://github.com/beauraines/toggl-cli/commit/7514fd3a3629632e2b08339222c828e61364bf24))
|
|
11
|
+
|
|
12
|
+
### [2.1.2](https://github.com/beauraines/toggl-cli/compare/v2.1.1...v2.1.2) (2024-01-12)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **weekly report:** Fixes spacing in header row values ([41f421a](https://github.com/beauraines/toggl-cli/commit/41f421aea1971afec95a56a73cdd3a8c0cdc6026))
|
|
18
|
+
|
|
5
19
|
### [2.1.1](https://github.com/beauraines/toggl-cli/compare/v2.1.0...v2.1.1) (2024-01-04)
|
|
6
20
|
|
|
7
21
|
|
package/cmds/weekly.mjs
CHANGED
|
@@ -38,7 +38,7 @@ export const handler = async function (argv) {
|
|
|
38
38
|
const currentProject = await getProjectById(workspace.id, project.project_id)
|
|
39
39
|
debug(currentProject)
|
|
40
40
|
const row = {
|
|
41
|
-
|
|
41
|
+
"Project Name": currentProject ? currentProject.name : 'No Project',
|
|
42
42
|
Total: 0
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -54,7 +54,7 @@ export const handler = async function (argv) {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
const totalRow = {
|
|
57
|
-
|
|
57
|
+
"Project Name": 'Total',
|
|
58
58
|
Total: 0
|
|
59
59
|
}
|
|
60
60
|
|