mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +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(() => {
|
||||
setOnline('down');
|
||||
});
|
||||
}, []);
|
||||
}, [config.modules?.[PingModule.title]?.enabled]);
|
||||
if (!exists) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user