mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 06:38:46 +00:00
Fix: wg-easy widget better handle api error (#3768)
This commit is contained in:
parent
5d531b11e7
commit
6ce67b5ab8
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export default function Component({ service }) {
|
|||
return <Container service={service} error={infoError} />;
|
||||
}
|
||||
|
||||
if (!infoData) {
|
||||
if (!infoData || infoData.errorCode) {
|
||||
return (
|
||||
<Container service={service}>
|
||||
<Block label="wgeasy.connected" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue