fix: removing classes

pull/3904/head
Arik Chakma 2 years ago
parent 1cea9d0e13
commit 48239772f6
  1. 2
      src/lib/resource-progress.ts

@ -187,8 +187,10 @@ export function renderTopicProgress(
matchingElements.forEach((element) => {
if (isDone) {
element.classList.add('done');
element.classList.remove('learning');
} else if (isLearning) {
element.classList.add('learning');
element.classList.remove('done');
} else {
element.classList.remove('done');
element.classList.remove('learning');

Loading…
Cancel
Save