assets: Run ts-standard

This commit is contained in:
Tom Wiesing 2023-12-02 09:09:28 +01:00
parent ef4ed86bc2
commit 78976d0179
No known key found for this signature in database
27 changed files with 155 additions and 157 deletions

View file

@ -14,11 +14,11 @@ const iipserver = document.getElementById('iipserver') as HTMLInputElement
system.addEventListener('submit', (evt) => {
evt.preventDefault()
const flavorElement = document.querySelector('input[name="flavor"]:checked');
const flavor = (flavorElement instanceof HTMLInputElement) ? flavorElement.value : "";
const flavorElement = document.querySelector('input[name="flavor"]:checked')
const flavor = (flavorElement instanceof HTMLInputElement) ? flavorElement.value : ''
Provision({
Slug: slug.value,
Provision({
Slug: slug.value,
Flavor: flavor,
System: { PHP: php.value, IIPServer: iipserver.checked, OpCacheDevelopment: opcacheDevelopment.checked, ContentSecurityPolicy: contentSecurityPolicy.value }
})