Finalize Typescript restructure

This commit is contained in:
Darko Gjorgjijoski
2026-04-06 17:59:15 +02:00
parent cab785172e
commit 74b4b2df4e
209 changed files with 12419 additions and 1745 deletions

View File

@@ -157,12 +157,12 @@ async function setInitialFields(): Promise<void> {
const res = await globalStore.fetchPlaceholders(data as { key: string })
res.placeholders.forEach((placeholder) => {
const found = allFields.value.find((field) => field.name === placeholder.value)
const found = allFields.value.find((field) => field.name === placeholder.name)
if (!found) return
selectedFields.value.push({
...found,
value: placeholder.value ?? '',
value: placeholder.value ?? found.value,
id: Guid.raw(),
})
})