fix(dameng): refresh object browser after compiling views
This commit is contained in:
1 parent
28c219ff03
commit
8454560f66
6 files changed
+194
-5
No files matched your search
@@ -3102,7 +3102,11 @@ function clearObjectSearch() {
|
||||
getSearchInput()?.focus();
|
||||
}
|
||||
|
||||
defineExpose({ focusSearch, refresh });
|
||||
function matchesRefreshScope(scope: { schema?: string; catalog?: string }): boolean {
|
||||
return (selectedSchema.value || "") === (scope.schema || "") && (props.catalog || "") === (scope.catalog || "");
|
||||
}
|
||||
|
||||
defineExpose({ focusSearch, refresh, matchesRefreshScope });
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
objectBrowserRowsLoadGuard.invalidate();
|
||||
|
||||
Reference in new issue
Block a user