1
0
Fork 0

Null state for review view during imports

Without this, it will show an empty progress bar and no info about why
the table is empty.
This commit is contained in:
Mouse Reeve 2022-09-14 18:08:16 -07:00
parent c6f4098334
commit fcf796abe1
2 changed files with 10 additions and 2 deletions

View file

@ -47,6 +47,7 @@ class ImportStatus(View):
"page_range": paginated.get_elided_page_range(
page.number, on_each_side=2, on_ends=1
),
"show_progress": True,
"item_count": item_count,
"complete_count": item_count - pending_item_count,
"percent": math.floor( # pylint: disable=c-extension-no-member