Show Markdown while HTML is building
Browse files- research/app_ui.py +1 -4
research/app_ui.py
CHANGED
|
@@ -839,10 +839,7 @@ def build_research_ui(
|
|
| 839 |
),
|
| 840 |
onClick=OpenLink(STATE.job.html_report_url),
|
| 841 |
)
|
| 842 |
-
with If(
|
| 843 |
-
(STATE.job.status == "completed")
|
| 844 |
-
& STATE.job.markdown_report
|
| 845 |
-
):
|
| 846 |
with Div(css_class="dispatch-markdown-report"):
|
| 847 |
Text(
|
| 848 |
"Markdown report",
|
|
|
|
| 839 |
),
|
| 840 |
onClick=OpenLink(STATE.job.html_report_url),
|
| 841 |
)
|
| 842 |
+
with If(STATE.job.markdown_report):
|
|
|
|
|
|
|
|
|
|
| 843 |
with Div(css_class="dispatch-markdown-report"):
|
| 844 |
Text(
|
| 845 |
"Markdown report",
|