Update migration count

feat/migrate-backend
Kamran Ahmed 10 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 clearedKey = `${resourceType}-${resourceId}-${userId}-cleared`;
const clearedCount = parseInt(localStorage.getItem(clearedKey) || '0', 10); const clearedCount = parseInt(localStorage.getItem(clearedKey) || '0', 10);
if (!clearedCount || clearedCount >= 10) {
if (clearedCount >= 10) {
return; return;
} }

Loading…
Cancel
Save