mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: disable automatic updates for cloud version
This commit is contained in:
parent
4565b3d7a2
commit
ab9aa56c48
@ -41,6 +41,10 @@ export const Navbar = () => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Handling of automatic check for server updates
|
// Handling of automatic check for server updates
|
||||||
|
if (isCloud) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!localStorage.getItem("enableAutoCheckUpdates")) {
|
if (!localStorage.getItem("enableAutoCheckUpdates")) {
|
||||||
// Enable auto update checking by default if user didn't change it
|
// Enable auto update checking by default if user didn't change it
|
||||||
localStorage.setItem("enableAutoCheckUpdates", "true");
|
localStorage.setItem("enableAutoCheckUpdates", "true");
|
||||||
|
Loading…
Reference in New Issue
Block a user