mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🐛 Fix bug in ping module
Module would not ping on the first activation / deactivation
This commit is contained in:
@@ -32,7 +32,7 @@ export default function PingComponent(props: any) {
|
|||||||
.catch(() => {
|
.catch(() => {
|
||||||
setOnline('down');
|
setOnline('down');
|
||||||
});
|
});
|
||||||
}, []);
|
}, [config.modules?.[PingModule.title]?.enabled]);
|
||||||
if (!exists) {
|
if (!exists) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user