clocktopus 1.6.13 → 1.6.14

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.
@@ -883,13 +883,8 @@ export function indexPage() {
883
883
  duration = '<span class="in-progress">In progress</span>';
884
884
  }
885
885
  const jira = s.jiraTicket || '-';
886
- const canDelete = !!s.completedAt && !(s.jiraTicket && !s.jiraWorklogId);
887
- const disabledAttr = canDelete ? '' : ' disabled';
888
- const btnTitle = canDelete
889
- ? 'Delete entry'
890
- : 'Cannot delete: Jira worklog id not tracked for this entry';
891
886
  const deleteBtn = s.completedAt
892
- ? '<button class="delete-btn" title="' + btnTitle + '" data-delete-id="' + escapeHtml(s.id) + '"' + disabledAttr + '>&times;</button>'
887
+ ? '<button class="delete-btn" title="Delete entry" data-delete-id="' + escapeHtml(s.id) + '">&times;</button>'
893
888
  : '';
894
889
  return '<tr>' +
895
890
  '<td>' + escapeHtml(s.description) + '</td>' +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clocktopus",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "description": "Time-tracking automation for Clockify with idle monitoring, Jira integration, Google Calendar sync, CLI, web dashboard, and desktop app.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",