Update migration count

feat/migrate-backend
Kamran Ahmed 4 months ago
parent 6bad20331f
commit 63e29b4205
  1. 3
      src/lib/resource-progress.ts

@ -100,7 +100,8 @@ export function clearMigratedRoadmapProgress(
const clearedKey = `${resourceType}-${resourceId}-${userId}-cleared`;
const clearedCount = parseInt(localStorage.getItem(clearedKey) || '0', 10);
if (!clearedCount || clearedCount >= 10) {
if (clearedCount >= 10) {
return;
}

Loading…
Cancel
Save