mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 08:02:38 +00:00
do not use access type override when not ambiguous in flow graph
This commit is contained in:
@@ -753,7 +753,8 @@
|
||||
.then((assets) => {
|
||||
for (const override of v.asset_alternative_access_types ?? []) {
|
||||
assets = assets.map((asset) => {
|
||||
if (assetEq(asset, override)) return { ...asset, access_type: override.access_type }
|
||||
if (assetEq(asset, override) && !asset.access_type)
|
||||
return { ...asset, access_type: override.access_type }
|
||||
return asset
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user