mirror of https://github.com/buster-so/buster.git
Merge branch 'staging' of https://github.com/buster-so/buster into staging
This commit is contained in:
commit
4f5584925d
|
@ -349,6 +349,14 @@ for (unique_id, node) in &dbt_catalog.nodes {
|
|||
}
|
||||
}
|
||||
|
||||
// Try wildcard lookup: find any key ending with .model_name
|
||||
let model_suffix = format!(".{}", model_name);
|
||||
for (key, &node) in lookup {
|
||||
if key.ends_with(&model_suffix) {
|
||||
return Some((node, "wildcard match".to_string(), key.clone()));
|
||||
}
|
||||
}
|
||||
|
||||
// Fallback to simple name lookup
|
||||
lookup.get(model_name).map(|&node|
|
||||
(node, "simple name".to_string(), model_name.to_string())
|
||||
|
|
|
@ -171,7 +171,7 @@ const CollapseToggleIcon = React.memo(
|
|||
className
|
||||
)}
|
||||
onClick={onClick}>
|
||||
<AnimatePresence mode="sync">
|
||||
<AnimatePresence mode="sync" initial={false}>
|
||||
{showChevron && (
|
||||
<motion.div
|
||||
key="chevron"
|
||||
|
|
Loading…
Reference in New Issue