From 8cf23ca3c270620d4dd21268c623f311fc027d97 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 18 Feb 2025 20:10:44 +0100 Subject: [PATCH] Update index.tsx --- website/src/pages/install/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/install/index.tsx b/website/src/pages/install/index.tsx index dd6504be..bff4adce 100644 --- a/website/src/pages/install/index.tsx +++ b/website/src/pages/install/index.tsx @@ -49,7 +49,7 @@ const Install: React.FC = () => { const generateInstallCommand = () => { let command = "bash <(curl -sSL https://openpanel.org)"; for (const [option, config] of Object.entries(installOptions)) { - if (option !== "version" || (option === "version" && config.value !== latestVersion)) { + if (option !== "version") { if (config.value || ["version", "hostname", "email", "screenshots", "docker-space", "post-install"].includes(option)) { if (option === "screenshots" && config.value === "local") { command += ` --screenshots=local`;