Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "task-checklist",
"version": "5.1",
"version": "5.1.1",
"description": "A Warframe Task Checklist to track daily, weekly, and other tasks. Built with HTML, CSS, and vanilla JavaScript, processed with Vite.",
"type": "module",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions sources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const dailyBackgroundImageIds = [
'bg-image-4',
// Add more IDs if you add more background image divs in HTML
];
const APP_VERSION = "5.1";
const APP_VERSION = "5.1.1";
const GIT_COMMIT_HASH_LONG = import.meta.env.VITE_GIT_COMMIT_HASH;
const GIT_COMMIT_HASH = GIT_COMMIT_HASH_LONG.slice(0,7);
const WARFRAME_VERSION = "43.0.2";
Expand Down Expand Up @@ -768,7 +768,7 @@ function makeInfoLine(task, appendTo) {
}

cycleIndex = modulo(Math.floor((now.getTime() - ref.getTime()) / period), cycleCount);
if (!isAvailable) {cycleIndex++;}
if (!isAvailable) { cycleIndex = modulo(cycleIndex + 1, cycleCount); }
console.log(`${task.id} cycleIndex ${cycleIndex}`);
const cycleData = cycles[task.id].columns[0].order[cycleIndex];

Expand Down