Update index.tsx

This commit is contained in:
Stefan Pejcic 2024-06-01 14:46:59 +02:00 committed by GitHub
parent dc4c63837d
commit b2af16cff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,12 +17,12 @@ const Install: React.FC = () => {
skipImages: false, skipImages: false,
skipBlacklists: false, skipBlacklists: false,
skipSSL: false, skipSSL: false,
withModsec: false, with_modsec: false,
ips: "", ips: "",
noSSH: false, no_ssh: false,
enableFTP: false, enable_ftp: false,
enableMail: false, enable_mail: false,
postInstall: "", post_install: "",
screenshots: "local", screenshots: "local",
debug: false, debug: false,
repair: false, repair: false,
@ -93,7 +93,7 @@ const Install: React.FC = () => {
{/* Input fields for advanced install settings */} {/* Input fields for advanced install settings */}
{Object.entries(installOptions).map(([key, value]) => ( {Object.entries(installOptions).map(([key, value]) => (
<div key={key}> <div key={key}>
<label htmlFor={key}>{key.replace(/([A-Z])/g, ' $1').toUpperCase()}:</label> <label htmlFor={key}>{key.replace(/_/g, ' ').toUpperCase()}:</label>
{key === "version" && ( {key === "version" && (
<select <select
id={key} id={key}