Timothy J. Baek 10 kuukautta sitten
vanhempi
commit
cf317f8fdf
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      src/lib/components/admin/Settings/Pipelines.svelte

+ 4 - 4
src/lib/components/admin/Settings/Pipelines.svelte

@@ -480,18 +480,18 @@
 													<!-- {valves[property]} -->
 													<div class="flex mt-0.5 mb-1.5 space-x-2">
 														<div class=" flex-1">
-															{#if valvesSpec.properties[property]?.enum ?? null}
+															{#if valves_spec.properties[property]?.enum ?? null}
 																<select
 																	class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
 																	bind:value={valves[property]}
 																>
-																	{#each valvesSpec.properties[property].enum as option}
+																	{#each valves_spec.properties[property].enum as option}
 																		<option value={option} selected={option === valves[property]}>
 																			{option}
 																		</option>
 																	{/each}
 																</select>
-															{:else if (valvesSpec.properties[property]?.type ?? null) === 'boolean'}
+															{:else if (valves_spec.properties[property]?.type ?? null) === 'boolean'}
 																<div class="flex justify-between items-center">
 																	<div class="text-xs text-gray-500">
 																		{valves[property] ? 'Enabled' : 'Disabled'}
@@ -505,7 +505,7 @@
 																<input
 																	class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
 																	type="text"
-																	placeholder={valvesSpec.properties[property].title}
+																	placeholder={valves_spec.properties[property].title}
 																	bind:value={valves[property]}
 																	autocomplete="off"
 																	required