PR feedback

This commit is contained in:
Dean 2025-01-02 17:43:32 +00:00
parent b15399ab81
commit 2eaf2954c1
1 changed files with 3 additions and 3 deletions

View File

@ -14,6 +14,8 @@
export let validation
export let onChange
const context = getContext("context")
let fieldState
let fieldApi
let localFiles = []
@ -83,9 +85,7 @@
}
const upload = async () => {
const processedFileKey = processStringSync(key, {
[$component.id]: fieldState,
})
const processedFileKey = processStringSync(key, $context)
loading = true
try {
const res = await API.externalUpload(