mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 08:01:38 +00:00
fix: fix resource list in args being pre-pended with $res
This commit is contained in:
@@ -409,7 +409,8 @@
|
||||
/>
|
||||
{:else if itemsType?.type == 'resource' && itemsType?.resourceType && resourceTypes?.includes(itemsType.resourceType)}
|
||||
<ObjectResourceInput
|
||||
bind:value={v}
|
||||
value={v ? `$res:${v}` : undefined}
|
||||
bind:path={v}
|
||||
format={'resource-' + itemsType?.resourceType}
|
||||
defaultValue={undefined}
|
||||
/>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
return typeof value === 'string' || value instanceof String
|
||||
}
|
||||
|
||||
let path: string = ''
|
||||
export let path: string = ''
|
||||
|
||||
function resourceToValue() {
|
||||
if (path) {
|
||||
|
||||
Reference in New Issue
Block a user