mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 16:02:14 +00:00
add resource select it directly
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
export async function open(rt?: string) {
|
||||
step = 1
|
||||
value = ''
|
||||
description = ''
|
||||
no_back = false
|
||||
resource_type = rt ?? ''
|
||||
|
||||
@@ -200,7 +201,7 @@
|
||||
description
|
||||
}
|
||||
})
|
||||
dispatch('refresh')
|
||||
dispatch('refresh', path)
|
||||
sendUserToast(`App token set at resource and variable path: ${path}`)
|
||||
drawer.closeDrawer?.()
|
||||
}
|
||||
|
||||
@@ -34,7 +34,14 @@
|
||||
let appConnect: AppConnect
|
||||
</script>
|
||||
|
||||
<AppConnect newPageOAuth bind:this={appConnect} />
|
||||
<AppConnect
|
||||
on:refresh={async (e) => {
|
||||
await loadResources(resourceType)
|
||||
value = e.detail
|
||||
}}
|
||||
newPageOAuth
|
||||
bind:this={appConnect}
|
||||
/>
|
||||
|
||||
<div class="flex flex-row gap-x-1 w-full">
|
||||
<Select
|
||||
|
||||
Reference in New Issue
Block a user