mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
Handle TA offline
This commit is contained in:
parent
b300a74669
commit
0c0b58af71
@ -106,10 +106,10 @@ const Download: NextPage = () => {
|
|||||||
<h1>Downloads</h1>
|
<h1>Downloads</h1>
|
||||||
</div>
|
</div>
|
||||||
<div id="notifications">
|
<div id="notifications">
|
||||||
{error &&
|
{error || !downloads?.data &&
|
||||||
<div className="error notification">
|
<div className="error notification">
|
||||||
<h3>API Connection Error</h3>
|
<h3>API Connection Error</h3>
|
||||||
<p>{error}</p>
|
<p></p>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
{errorMessage &&
|
{errorMessage &&
|
||||||
|
Loading…
Reference in New Issue
Block a user