Skip to content

Commit

Permalink
feat: Display "Processing..." for claimed sites in ResultsTableCompon…
Browse files Browse the repository at this point in the history
…ent table row
  • Loading branch information
1000daysofcode committed Mar 18, 2024
1 parent 248c77b commit 66a94c2
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
tableRowData = [];
responseStore.forEach((value: Site, key: string): void => {
if (value.status !== "succeeded") return;
if (!["claimed", "succeeded"].includes(value.status)) return;
let tableRow: (string | number)[] = [];
Expand All @@ -65,6 +65,12 @@
tableRow.push(name);
return;
}
if (value.status === "claimed") {
tableRow.push("Processing...");
return;
}
if (header.dataKey) {
tableRow.push(
getSitePopulationForCode(
Expand Down

0 comments on commit 66a94c2

Please sign in to comment.