fix(ags): fix issues with hover on network item
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
85348d1a6c
commit
d223d18842
1 changed files with 17 additions and 13 deletions
|
@ -29,7 +29,10 @@ export default () => {
|
||||||
return (
|
return (
|
||||||
<box>
|
<box>
|
||||||
{/* Make sure the AP is there before binding to it */}
|
{/* Make sure the AP is there before binding to it */}
|
||||||
{bind(Wifi, 'accessPoints').as((aps) => aps.length !== 0 && (
|
{bind(Wifi, 'accessPoints').as((aps) => {
|
||||||
|
if (aps.length === 0) { return; }
|
||||||
|
|
||||||
|
return (
|
||||||
<>
|
<>
|
||||||
<icon icon={bind(Wifi, 'iconName')} />
|
<icon icon={bind(Wifi, 'iconName')} />
|
||||||
|
|
||||||
|
@ -42,7 +45,8 @@ export default () => {
|
||||||
))}
|
))}
|
||||||
</revealer>
|
</revealer>
|
||||||
</>
|
</>
|
||||||
))}
|
);
|
||||||
|
})}
|
||||||
</box>
|
</box>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue