mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update index.tsx
This commit is contained in:
@@ -62,7 +62,7 @@ const Install: React.FC = () => {
|
||||
if (installOptions[option].value || ["version", "hostname", "screenshots", "post-install"].includes(option)) {
|
||||
if (option === "screenshots" && installOptions[option].value === "local") {
|
||||
command += ` --screenshots=local`;
|
||||
} else {
|
||||
} else if (installOptions[option].value !== "" && installOptions[option].value !== false) {
|
||||
command += ` --${option}`;
|
||||
if (installOptions[option].value !== true) {
|
||||
command += `=${installOptions[option].value}`;
|
||||
@@ -73,6 +73,7 @@ const Install: React.FC = () => {
|
||||
}
|
||||
return command;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user