mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Merge branch 'main' into kubernetes
This commit is contained in:
commit
a1f2003a77
108 changed files with 619 additions and 168 deletions
|
@ -12,7 +12,7 @@ export default function Widget({ options }) {
|
|||
options.type = "unifi_console";
|
||||
const { data: statsData, error: statsError } = useWidgetAPI(options, "stat/sites", { index: options.index });
|
||||
|
||||
if (statsError || statsData?.error) {
|
||||
if (statsError) {
|
||||
return (
|
||||
<div className="flex flex-col justify-center first:ml-0 ml-4">
|
||||
<div className="flex flex-row items-center justify-end">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue